X-Git-Url: http://git.onelab.eu/?p=openvswitch.git;a=blobdiff_plain;f=openvswitch.spec;h=7dbc1d9fdb7c17807ed673daf5af927d2c0c1933;hp=81cb892094a07714ae69f1e89ead04e528593c28;hb=HEAD;hpb=e68d7f6810ec1a89b7ed88ed03da54b6b22a2d8e diff --git a/openvswitch.spec b/openvswitch.spec index 81cb892..7dbc1d9 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -1,11 +1,11 @@ %define url $URL$ %define name openvswitch -%define version 1.4pre +%define version ef72dd8 %define taglevel 1 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} -%define upstream http://openvswitch.org/releases/openvswitch-%{version}.tar.gz +%define upstream "http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=snapshot;h=ef72dd87d6ad4e511d1e0bddc31d4716f0914fab;sf=tgz" Vendor: PlanetLab Packager: PlanetLab Central @@ -22,18 +22,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot #Requires: BuildRequires: kernel-devel -Source0: openvswitch-sources.tar.gz +Source0: openvswitch-%{version}.tar.gz %description Openvswitch - virtual switches on PlanetLab %prep %setup -wget %{upstream} -tar xvfz openvswitch-sources.tar.gz --strip=1 +wget -Oopenvswitch-%{version}.tar.gz %{upstream} +tar xvfz openvswitch-%{version}.tar.gz --strip=1 %build KVER=`ls -l /usr/src/kernels | awk '{printf $9;}'` +./boot.sh ./configure --with-linux=/usr/src/kernels/$KVER make -j17