X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=openvswitch.spec;h=c8ffd9cdbae56f6fd8a42c76fb91775ad69a4f07;hb=48f0786c3a4f95fe6176e82ef47b768e6291bb0e;hp=3a73c57829afb13da5373d9051ca6dc90bae5494;hpb=7600a57c50d9662535e289f1341458b27fd7ed2a;p=openvswitch.git diff --git a/openvswitch.spec b/openvswitch.spec index 3a73c57..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: -Source: 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;}'`