X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=openvswitch.spec;h=c8ffd9cdbae56f6fd8a42c76fb91775ad69a4f07;hb=48f0786c3a4f95fe6176e82ef47b768e6291bb0e;hp=40469aded390fdcd0ba21c674df0a0f0dd20a8f8;hpb=b76337d02b06c7f77590222e30c4c6d877902be9;p=openvswitch.git diff --git a/openvswitch.spec b/openvswitch.spec index 40469ad..c8ffd9c 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -5,6 +5,7 @@ %define taglevel 1 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define upstream http://openvswitch.org/releases/openvswitch-%{version}.tar.gz Vendor: PlanetLab Packager: PlanetLab Central @@ -20,13 +21,15 @@ Group: System Environment/Kernel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot #Requires: -Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz +Source0: openvswitch-%{version}.tar.gz %description Openvswitch - virtual switches on PlanetLab %prep %setup +wget %{upstream} +tar xvfz openvswitch-%{version}.tar.gz --strip=1 %build KVER=`ls -l /usr/src/kernels | awk '{printf $9;}'`