2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 18:07:40 +00:00

debian, rhel: Move ovs-flowviz and the man page to appropriate places.

ovs-flowviz script should be shipped in bindir in fedora and the
man pages should be shipped in the same python3-openvswitch package
for both debian and fedora.

Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
Ilya Maximets 2024-10-21 21:23:57 +02:00
parent 4d1b1aa93c
commit 19ee88ef0f
3 changed files with 7 additions and 1 deletions

1
debian/automake.mk vendored
View File

@ -58,6 +58,7 @@ EXTRA_DIST += \
debian/ovs-systemd-reload \ debian/ovs-systemd-reload \
debian/patches/ovs-ctl-ipsec.patch \ debian/patches/ovs-ctl-ipsec.patch \
debian/patches/series \ debian/patches/series \
debian/python3-openvswitch.install \
debian/rules \ debian/rules \
debian/source/format \ debian/source/format \
debian/source/lintian-overrides \ debian/source/lintian-overrides \

1
debian/python3-openvswitch.install vendored Normal file
View File

@ -0,0 +1 @@
usr/share/man/man8/ovs-flowviz.8

View File

@ -252,6 +252,9 @@ install -d -m 0755 $RPM_BUILD_ROOT%{python3_sitelib}
cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/* \ cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/* \
$RPM_BUILD_ROOT%{python3_sitelib} $RPM_BUILD_ROOT%{python3_sitelib}
mv $RPM_BUILD_ROOT%{python3_sitelib}/ovs/flowviz/ovs-flowviz \
$RPM_BUILD_ROOT/%{_bindir}/ovs-flowviz
rm -rf $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/ rm -rf $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch
@ -405,6 +408,8 @@ fi
%{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp %{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp
%files -n python3-openvswitch %files -n python3-openvswitch
%{_bindir}/ovs-flowviz
%{_mandir}/man8/ovs-flowviz.8*
%{python3_sitelib}/ovs %{python3_sitelib}/ovs
%files test %files test
@ -507,7 +512,6 @@ fi
%{_mandir}/man8/ovs-ctl.8* %{_mandir}/man8/ovs-ctl.8*
%{_mandir}/man8/ovs-dpctl.8* %{_mandir}/man8/ovs-dpctl.8*
%{_mandir}/man8/ovs-dpctl-top.8* %{_mandir}/man8/ovs-dpctl-top.8*
%{_mandir}/man8/ovs-flowviz.8*
%{_mandir}/man8/ovs-kmod-ctl.8* %{_mandir}/man8/ovs-kmod-ctl.8*
%{_mandir}/man8/ovs-ofctl.8* %{_mandir}/man8/ovs-ofctl.8*
%{_mandir}/man8/ovs-pki.8* %{_mandir}/man8/ovs-pki.8*