With the cited commit, we get an error from rpmbuild about installed
but not packaged /usr/lib64/libopenvswitchavx512.a.
Fix it by treating it as the other la files.

Fixes: 352b6c7116cd ("dpif-lookup: add avx512 gather implementation.")
Signed-off-by: Roi Dayan <[email protected]>
---
 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 7bc8c34b80af..e3e0d8acfc2d 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -402,6 +402,7 @@ fi
 %{_includedir}/openvswitch/*
 %{_includedir}/openflow/*
 %exclude %{_libdir}/*.la
+%exclude %{_libdir}/*.a
 
 %if 0%{?rhel} > 7 || 0%{?fedora} > 28
 %files -n network-scripts-%{name}
-- 
2.8.4

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to