[ovs-dev] [PATCH] rhel: openvswitch-fedora.spec.in: Fix installed but not packaged
Van Haaren, Harry
harry.van.haaren at intel.com
Wed Jul 15 12:46:16 UTC 2020
> -----Original Message-----
> From: Roi Dayan <roid at mellanox.com>
> Sent: Wednesday, July 15, 2020 1:41 PM
> To: dev at openvswitch.org
> Cc: Van Haaren, Harry <harry.van.haaren at intel.com>; Ilya Maximets
> <i.maximets at ovn.org>; Ben Pfaff <blp at ovn.org>; Simon Horman
> <simon.horman at netronome.com>; Roi Dayan <roid at 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 <roid at 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
More information about the dev
mailing list