Starting with RPM 4.1, rpmbuild will exit if all files in the $RPM_BUILD_ROOT directory are not found in the %files section, resulting errors below: RPM build errors: Installed (but unpackaged) file(s) found: /usr/include/ovn/actions.h /usr/include/ovn/expr.h /usr/include/ovn/lex.h The patch disables it and tested with rpmbuild 4.13.0 under Fedora 23.
Signed-off-by: William Tu <u9012...@gmail.com> --- rhel/openvswitch-fedora.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in index 088afcb..f1edd58 100644 --- a/rhel/openvswitch-fedora.spec.in +++ b/rhel/openvswitch-fedora.spec.in @@ -13,6 +13,10 @@ #%define kernel 2.6.40.4-5.fc15.x86_64 +# Starting with RPM 4.1, rpmbuild will exit if all files in the $RPM_BUILD_ROOT +# directory are not found in the %files. Disable it here. +%define _unpackaged_files_terminate_build 0 + # If libcap-ng isn't available and there is no need for running OVS # as regular user, specify the '--without libcapng' %bcond_without libcapng -- 2.5.0 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev