[ovs-dev] [PATCH] rhel: Fix builds failures because of libraries in /usr/lib.

Gurucharan Shetty shettyg at nicira.com
Wed Dec 18 17:08:56 UTC 2013


Reported-by: Igor Sever <igor at xorops.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
---
 AUTHORS                         |    1 +
 rhel/openvswitch-fedora.spec.in |    2 +-
 rhel/openvswitch.spec.in        |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index fb204a2..595c096 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -169,6 +169,7 @@ Henrik Amren            henrik at nicira.com
 Hiroshi Tanaka          htanaka at nicira.com
 Hiroshi Miyata          miyahiro.dazu at gmail.com
 Igor Ganichev           iganichev at nicira.com
+Igor Sever              igor at xorops.com
 Jacob Cherkas           jcherkas at nicira.com
 Jad Naous               jnaous at gmail.com
 Jamal Hadi Salim        hadi at cyberus.ca
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 5da98e1..15b47c1 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -70,7 +70,7 @@ install python/compat/argparse.py $RPM_BUILD_ROOT/usr/share/openvswitch/python
 install -d -m 755 $RPM_BUILD_ROOT/var/lib/openvswitch
 
 # Get rid of stuff we don't want to make RPM happy.
-rm -rf $RPM_BUILD_ROOT/%{_lib}
+rm -f $RPM_BUILD_ROOT/usr/lib/lib*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in
index 3413c75..2799294 100644
--- a/rhel/openvswitch.spec.in
+++ b/rhel/openvswitch.spec.in
@@ -62,7 +62,7 @@ rm \
     $RPM_BUILD_ROOT/usr/share/man/man8/ovs-l3ping.8 \
     $RPM_BUILD_ROOT/usr/sbin/ovs-vlan-bug-workaround \
     $RPM_BUILD_ROOT/usr/share/man/man8/ovs-vlan-bug-workaround.8
-rm -rf $RPM_BUILD_ROOT/%{_lib}
+rm -rf $RPM_BUILD_ROOT/usr/lib
 
 install -d -m 755 $RPM_BUILD_ROOT/var/lib/openvswitch
 
-- 
1.7.9.5




More information about the dev mailing list