> -----Original Message-----
> From: Roi Dayan <r...@mellanox.com>
> Sent: Wednesday, July 15, 2020 1:41 PM
> To: d...@openvswitch.org
> Cc: Van Haaren, Harry <harry.van.haa...@intel.com>; Ilya Maximets
> <i.maxim...@ovn.org>; Ben Pfaff <b...@ovn.org>; Simon Horman
> <simon.hor...@netronome.com>; Roi Dayan <r...@mellanox.com>
> Subject: [PATCH] rhel: openvswitch-fedora.spec.in: Fix installed but not 
> packaged
> 
> 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}

Hi Roi,

Note the discussion ongoing on this thread, where similar solutions are
proposed for similar issues:
https://mail.openvswitch.org/pipermail/ovs-dev/2020-July/372954.html

I think there is a decision to be made on that thread, and we can incorporate
the fix suggested here if required based on the outcome of that discussion.

Thanks, -Harry
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to