X-Git-Url: http://git.onelab.eu/?p=openvswitch.git;a=blobdiff_plain;f=openvswitch.spec;fp=openvswitch.spec;h=016da4568f640896eaf340a538f9da3f3d0ae216;hp=6349f51b93721926d8a82060cd2ba6e2f2500c29;hb=530a3de69a478e97adf1c7e5cfc0f7e8a85504fe;hpb=598ec81982674cf6bca7fb32345df986971661ff diff --git a/openvswitch.spec b/openvswitch.spec index 6349f51..016da45 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -5,7 +5,7 @@ %define taglevel 1 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} -%define upstream http://openvswitch.org/releases/openvswitch-%{version}.tar.gz +%define upstream http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=snapshot;h=ef72dd87d6ad4e511d1e0bddc31d4716f0914fab;sf=tgz Vendor: PlanetLab Packager: PlanetLab Central @@ -29,6 +29,8 @@ Openvswitch - virtual switches on PlanetLab %prep %setup +wget -Oopenvswitch-%{version}.tar.gz %{upstream} +tar xvfz openvswitch-%{version}.tar.gz --strip=1 %build KVER=`ls -l /usr/src/kernels | awk '{printf $9;}'`