From 338df1bfb07f7b0f16037aa0bbb8fe5dba6aa005 Mon Sep 17 00:00:00 2001 From: dotSlashLu <dotslash...@gmail.com> Date: Fri, 4 Sep 2015 21:38:13 +0800 Subject: [PATCH 1/3] rhel: fix 'cannot remove' build error
These 3 patches are for fixing several rpm build errors on CentOS 6.x, see https://github.com/openvswitch/ovs/pull/65 Fix rpmbuild error: rm: cannot remove `/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/bin/ovs-test': No su rm: cannot remove `/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/bin/ovs-l3ping': No error: Bad exit status from /var/tmp/rpm-tmp.dd9miw (%install) Signed-off-by: Dotslash Lu <dotslash...@gmail.com> --- rhel/openvswitch.spec.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in index dad3e04..cc9d9ab 100644 --- a/rhel/openvswitch.spec.in +++ b/rhel/openvswitch.spec.in @@ -56,7 +56,7 @@ rhel_cp etc_sysconfig_network-scripts_ifdown-ovs 0755 rhel_cp usr_share_openvswitch_scripts_sysconfig.template 0644 # Get rid of stuff we don't want to make RPM happy. -rm \ +rm -rf \ $RPM_BUILD_ROOT/usr/bin/ovs-testcontroller \ $RPM_BUILD_ROOT/usr/share/man/man8/ovs-testcontroller.8 \ $RPM_BUILD_ROOT/usr/bin/ovs-test \ -- 1.7.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev