[ovs-dev] [PATCHv2] fedora.spec: Add OVN include files.

William Tu u9012063 at gmail.com
Wed Aug 3 06:07:15 UTC 2016


Current 'make rpm-fedora' fails due to files exists in $RPM_BUILD_ROOT
directory but not found in the %files section, resulting in 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 fixes it and tested with rpmbuild 4.13.0 under Fedora 23.

Signed-off-by: William Tu <u9012063 at gmail.com>
---
 rhel/openvswitch-fedora.spec.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 088afcb..34c0f37 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -405,6 +405,7 @@ fi
 %{_libdir}/pkgconfig/*.pc
 %{_includedir}/openvswitch/*
 %{_includedir}/openflow/*
+%{_includedir}/ovn/*
 
 %files
 %defattr(-,root,root)
-- 
2.5.0




More information about the dev mailing list