X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=openvswitch.spec;h=a563464e62502812b6399cef5f83d10da1a98591;hb=4e320c76070e3ee252c206bbd3b7ad33752d2336;hp=cb06c7692d8f1d54119f2787f92199ce35afdad3;hpb=cae3c47018202bf6c95d78d1d1bccb1835eb20b3;p=openvswitch.git diff --git a/openvswitch.spec b/openvswitch.spec index cb06c76..a563464 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -2,9 +2,10 @@ %define name openvswitch %define version 1.1.0pre2 -%define taglevel 1 +%define taglevel 2 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define upstream http://openvswitch.org/releases/openvswitch-%{version}.tar.gz Vendor: PlanetLab Packager: PlanetLab Central @@ -19,17 +20,17 @@ License: GPL Group: System Environment/Kernel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot #Requires: +BuildRequires: kernel-devel -Source: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz +Source0: openvswitch-%{version}.tar.gz %description Openvswitch - virtual switches on PlanetLab %prep %setup -wget %{Source} -tar xvfz openvswitch-%{version}.tar.gz -cd openvswitch-%{version} +wget %{upstream} +tar xvfz openvswitch-%{version}.tar.gz --strip=1 %build KVER=`ls -l /usr/src/kernels | awk '{printf $9;}'` @@ -64,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT %postun %changelog +* Mon Sep 26 2011 Thierry Parmentelat - openvswitch-1.1.0pre2-2 +- add a buildrequires dep. to kernel-devel + * Mon Jan 17 2011 Sapan Bhatia - openvswitch-1.1.0pre2-1 - Fixed a build issue.