git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'mainstream'
[sliver-openvswitch.git]
/
rhel
/
openvswitch-fedora.spec.in
diff --git
a/rhel/openvswitch-fedora.spec.in
b/rhel/openvswitch-fedora.spec.in
index
5384c32
..
5cec1ff
100644
(file)
--- a/
rhel/openvswitch-fedora.spec.in
+++ b/
rhel/openvswitch-fedora.spec.in
@@
-35,7
+35,7
@@
traffic.
%setup -q -n openvswitch-%{version}
%build
%setup -q -n openvswitch-%{version}
%build
-./configure --prefix=/usr --sysconfdir=/etc --localstatedir=%{_localstatedir} --enable-ssl
%{build_number}
+./configure --prefix=/usr --sysconfdir=/etc --localstatedir=%{_localstatedir} --enable-ssl
make %{_smp_mflags}
%install
make %{_smp_mflags}
%install
@@
-69,6
+69,9
@@
install python/compat/argparse.py $RPM_BUILD_ROOT/usr/share/openvswitch/python
install -d -m 755 $RPM_BUILD_ROOT/var/lib/openvswitch
install -d -m 755 $RPM_BUILD_ROOT/var/lib/openvswitch
+# Get rid of stuff we don't want to make RPM happy.
+(cd "$RPM_BUILD_ROOT" && rm -f usr/lib/lib*)
+
%clean
rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT