Reported-by: Igor Sever <[email protected]>
Signed-off-by: Gurucharan Shetty <[email protected]>
---
 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            [email protected]
 Hiroshi Tanaka          [email protected]
 Hiroshi Miyata          [email protected]
 Igor Ganichev           [email protected]
+Igor Sever              [email protected]
 Jacob Cherkas           [email protected]
 Jad Naous               [email protected]
 Jamal Hadi Salim        [email protected]
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 5da98e1..34bd493 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}
+cd "$RPM_BUILD_ROOT" && rm -f usr/lib/lib*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in
index 3413c75..11d8f74 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}
+cd "$RPM_BUILD_ROOT" && rm -rf usr/lib
 
 install -d -m 755 $RPM_BUILD_ROOT/var/lib/openvswitch
 
-- 
1.7.9.5

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to