On 7/15/2020 5:40 AM, Roi Dayan wrote:
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 <r...@mellanox.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 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}


Works for me.

Tested-by: Greg Rose <gvrose8...@gmail.com>
Acked-by: Greg Rose <gvrose8...@gmail.com>
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to