Message ID | 1470204435-25464-1-git-send-email-u9012063@gmail.com |
---|---|
State | Accepted |
Headers | show |
On Wed, Aug 3, 2016 at 2:07 AM, William Tu <u9012063@gmail.com> wrote: > 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@gmail.com> > I applied this to master, thanks!
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)
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@gmail.com> --- rhel/openvswitch-fedora.spec.in | 1 + 1 file changed, 1 insertion(+)