From c2748a59da8c4ef6f3b3dcb418b9c229bb9e9997 Mon Sep 17 00:00:00 2001
From: dotSlashLu <[email protected]>
Date: Fri, 4 Sep 2015 21:43:01 +0800
Subject: [PATCH 2/3] rhel: fix rpm build file not found error
fix rpm build error:
RPM build errors:
File not found:
/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/bin/ovs-dpctl-top
File not found:
/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/bin/ovs-parse-backtrace
File not found:
/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/bin/ovs-pcap
File not found:
/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/bin/ovs-tcpundump
File not found:
/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/bin/ovs-vlan-test
File not found:
/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/sbin/ovs-bugtool
File not found:
/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/share/man/man8/ovs-bugtool.8.gz
File not found:
/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/share/openvswitch/bugtool-plugins
File not found:
/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/share/openvswitch/python
File not found by glob:
/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/share/openvswitch/scripts/ovs-bugtool-*
File not found:
/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/share/man/man1/ovs-sim.1.gz
Signed-off-by: Dotslash Lu <[email protected]>
---
rhel/openvswitch.spec.in | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in
index cc9d9ab..55e6ea4 100644
--- a/rhel/openvswitch.spec.in
+++ b/rhel/openvswitch.spec.in
@@ -129,19 +129,19 @@ exit 0
/usr/bin/ovs-appctl
/usr/bin/ovs-benchmark
/usr/bin/ovs-dpctl
-/usr/bin/ovs-dpctl-top
+# /usr/bin/ovs-dpctl-top
/usr/bin/ovs-docker
/usr/bin/ovs-ofctl
-/usr/bin/ovs-parse-backtrace
-/usr/bin/ovs-pcap
+# /usr/bin/ovs-parse-backtrace
+# /usr/bin/ovs-pcap
/usr/bin/ovs-pki
-/usr/bin/ovs-tcpundump
-/usr/bin/ovs-vlan-test
+# /usr/bin/ovs-tcpundump
+# /usr/bin/ovs-vlan-test
/usr/bin/ovs-vsctl
/usr/bin/ovsdb-client
/usr/bin/ovsdb-tool
/usr/bin/vtep-ctl
-/usr/sbin/ovs-bugtool
+# /usr/sbin/ovs-bugtool
/usr/sbin/ovs-vswitchd
/usr/sbin/ovsdb-server
/usr/share/man/man1/ovs-benchmark.1.gz
@@ -153,7 +153,7 @@ exit 0
/usr/share/man/man5/ovs-vswitchd.conf.db.5.gz
/usr/share/man/man5/vtep.5.gz
/usr/share/man/man8/ovs-appctl.8.gz
-/usr/share/man/man8/ovs-bugtool.8.gz
+# /usr/share/man/man8/ovs-bugtool.8.gz
/usr/share/man/man8/ovs-ctl.8.gz
/usr/share/man/man8/ovs-dpctl.8.gz
/usr/share/man/man8/ovs-dpctl-top.8.gz
@@ -164,9 +164,9 @@ exit 0
/usr/share/man/man8/ovs-vsctl.8.gz
/usr/share/man/man8/ovs-vswitchd.8.gz
/usr/share/man/man8/vtep-ctl.8.gz
-/usr/share/openvswitch/bugtool-plugins/
-/usr/share/openvswitch/python/
-/usr/share/openvswitch/scripts/ovs-bugtool-*
+# /usr/share/openvswitch/bugtool-plugins/
+# /usr/share/openvswitch/python/
+# /usr/share/openvswitch/scripts/ovs-bugtool-*
/usr/share/openvswitch/scripts/ovs-check-dead-ifs
/usr/share/openvswitch/scripts/ovs-ctl
/usr/share/openvswitch/scripts/ovs-lib
@@ -180,7 +180,7 @@ exit 0
/var/lib/openvswitch
/var/log/openvswitch
%exclude /usr/bin/ovn-*
-%exclude /usr/share/man/man1/ovs-sim.1.gz
+# %exclude /usr/share/man/man1/ovs-sim.1.gz
%exclude /usr/share/man/man5/ovn-*
%exclude /usr/share/man/man7/ovn-*
%exclude /usr/share/man/man8/ovn-*
--
1.7.1
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev