git://git.onelab.eu
/
openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spec file fix
[openvswitch.git]
/
openvswitch.spec
diff --git
a/openvswitch.spec
b/openvswitch.spec
index
a7faab0
..
7dbc1d9
100644
(file)
--- a/
openvswitch.spec
+++ b/
openvswitch.spec
@@
-5,7
+5,7
@@
%define taglevel 1
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
%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 <support@planet-lab.org>
Vendor: PlanetLab
Packager: PlanetLab Central <support@planet-lab.org>
@@
-29,10
+29,12
@@
Openvswitch - virtual switches on PlanetLab
%prep
%setup
%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;}'`
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
./configure --with-linux=/usr/src/kernels/$KVER
make -j17