Skip to content

Commit

Permalink
rhel: Ship ovs shared libraries, fedora
Browse files Browse the repository at this point in the history
This patch extends 4886d4d (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

CC: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Martin Xu <martinxu9.ovs@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Flavio Leitner <fbl@redhat.com>
  • Loading branch information
martinxu9ovs authored and blp committed Sep 18, 2018
1 parent e75378e commit d1a2f13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rhel/openvswitch-fedora.spec.in
Expand Up @@ -223,6 +223,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} \
Expand Down Expand Up @@ -523,6 +524,7 @@ fi
%{python2_sitelib}/ovstest

%files devel
%{_libdir}/lib*.so
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/pkgconfig/*.pc
Expand Down Expand Up @@ -571,6 +573,7 @@ fi
%{_bindir}/ovs-testcontroller
%{_bindir}/ovs-pki
%{_bindir}/vtep-ctl
%{_libdir}/lib*.so.*
%{_sbindir}/ovs-bugtool
%{_sbindir}/ovs-vswitchd
%{_sbindir}/ovsdb-server
Expand Down

0 comments on commit d1a2f13

Please sign in to comment.