aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm/wireshark.spec.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/packaging/rpm/wireshark.spec.in b/packaging/rpm/wireshark.spec.in
index 781ef942fe..0b713be07f 100644
--- a/packaging/rpm/wireshark.spec.in
+++ b/packaging/rpm/wireshark.spec.in
@@ -475,8 +475,13 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README*
# Include the User Guide:
-%docdir %{_datadir}/wireshark/
-%{_datadir}/wireshark/
+%if %{with guides}
+%docdir %{_datadir}/doc/wireshark/
+# HTML manuals are installed to %{_datadir}/wireshark because that is
+# where Wireshark's Help menu expects to launch them from.
+%exclude %{_datadir}/doc/wireshark/*.html
+%{_datadir}/doc/wireshark/
+%endif
# Don't pick up any of the wireshark (GUI) binaries here
%exclude %{_bindir}/wireshark*
@@ -543,8 +548,8 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%{_libdir}/pkgconfig/wireshark.pc
%changelog
-* Mon Mar 29 2021 Gerald Combs
-- Update HTML documenatation location
+* Mon Mar 29 2021 Joao Valverde
+- Update HTML documentation location
* Thu Nov 26 2020 Gerald Combs
- Bison is no longer required