X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=openvswitch.spec;h=759ab63515fa656c01a9a49bf358d5b1ed529004;hb=88c27713450cc5c6f79155c2a73ab8d234c0effc;hp=3a73c57829afb13da5373d9051ca6dc90bae5494;hpb=7600a57c50d9662535e289f1341458b27fd7ed2a;p=openvswitch.git diff --git a/openvswitch.spec b/openvswitch.spec index 3a73c57..759ab63 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,16 @@ 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 +cd openvswitch-%{version} %build KVER=`ls -l /usr/src/kernels | awk '{printf $9;}'`