[ovs-discuss] Centos 6.5 git build

Ben Pfaff blp at nicira.com
Wed Dec 18 17:06:41 UTC 2013


On Wed, Dec 18, 2013 at 11:23:41AM +0100, Igor Sever wrote:
> I am trying to build from latest source from GIT on Centos 6.5 but getting
> error:
> 
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /root/rpmbuild/BUILDROOT/openvswitch-2.0.90-1.x86_64
> error: Installed (but unpackaged) file(s) found:
>    /usr/lib/libofproto.a
>    /usr/lib/libofproto.la
>    /usr/lib/libopenvswitch.a
>    /usr/lib/libopenvswitch.la
>    /usr/lib/libovsdb.a
>    /usr/lib/libovsdb.la
>    /usr/lib/libsflow.a
>    /usr/lib/libsflow.la

Oops.

Does the following patch fix the problem?

Thanks,

Ben.

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
 



More information about the discuss mailing list