X-Git-Url: http://git.onelab.eu/?p=openvswitch.git;a=blobdiff_plain;f=openvswitch.spec;h=7dbc1d9fdb7c17807ed673daf5af927d2c0c1933;hp=ae491a0682fa3a93368c4a76fa3138a3c39e2346;hb=HEAD;hpb=65412083039d6d86c0c01218ad03d113e565dc62;ds=sidebyside diff --git a/openvswitch.spec b/openvswitch.spec index ae491a0..7dbc1d9 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -5,7 +5,7 @@ %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 @@ -29,9 +29,12 @@ Openvswitch - virtual switches on PlanetLab %prep %setup +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