[ovs-dev] [PATCH v3] rhel: Ship ovs shared libraries, fedora
Martin Xu
martinxu9.ovs at gmail.com
Wed Sep 12 19:43:51 UTC 2018
This patch extends 4886d4d2495b (debian, rhel: Ship ovs shared libraries
and header files) to fedora, by packaging the shared libraries in
openvswitch and openvswitch-dvel RPM. These files are always packaged in
the RPMs built with rhel6 spec file.
VMware-BZ: #2036847
Signed-off-by: Martin Xu <martinxu9.ovs at gmail.com>
CC: Flavio Leitner <fbl at redhat.com>
---
v1->v2: change from conditional to always ship share libraries
v2->v3: package libraries in openvswitch and openvswitch-devel RPM
rhel/openvswitch-fedora.spec.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index cb7ecca..ba55fb5 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -236,6 +236,7 @@ Docker network plugins for OVN.
--with-dpdk=$(dirname %{_datadir}/dpdk/*/.config) \
%endif
--enable-ssl \
+ --enable-shared \
--with-pkidir=%{_sharedstatedir}/openvswitch/pki \
%if 0%{?fedora} > 22 || %{with build_python3}
PYTHON3=%{__python3} \
@@ -536,6 +537,7 @@ fi
%{python2_sitelib}/ovstest
%files devel
+%{_libdir}/lib*.so
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/pkgconfig/*.pc
@@ -592,6 +594,7 @@ fi
%{_bindir}/ovs-testcontroller
%{_bindir}/ovs-pki
%{_bindir}/vtep-ctl
+%{_libdir}/lib*.so.*
%{_sbindir}/ovs-bugtool
%{_sbindir}/ovs-vswitchd
%{_sbindir}/ovsdb-server
--
1.8.3.1
More information about the dev
mailing list