X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=openvswitch.spec;h=759ab63515fa656c01a9a49bf358d5b1ed529004;hb=88c27713450cc5c6f79155c2a73ab8d234c0effc;hp=cb06c7692d8f1d54119f2787f92199ce35afdad3;hpb=cae3c47018202bf6c95d78d1d1bccb1835eb20b3;p=openvswitch.git diff --git a/openvswitch.spec b/openvswitch.spec index cb06c76..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,14 +21,14 @@ 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 %{Source} +wget %{upstream} tar xvfz openvswitch-%{version}.tar.gz cd openvswitch-%{version}