summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Novosyolov <m.novosyolov@rosalinux.ru>2020-06-28 14:53:34 +0300
committerPanu Matilainen <pmatilai@redhat.com>2020-08-31 11:52:07 +0300
commitbaee9e8d9574c59eb7c7357786a392b1a5d37ffd (patch)
treedd1328fb0e8356c8dcaca5cd0023ce21a6b9a55a
parent02e032e61dad1647657d560d07fd551c328a0fbd (diff)
downloadrpm-baee9e8d9574c59eb7c7357786a392b1a5d37ffd.tar.gz
Treat /usr/share/gnome/help as docs
rpmlint thinks that /usr/share/gnome/help is documentation: `FilesCheck.py:188:doc_regex = re.compile(r'^/usr(/share|/X11R6)?/(doc|man|info)/|^/usr/share/gnome/help')` and gives a warning that those files are not marked as docs in RPM packages. It seems a good idea to treat help files as documentation (for example, if someone wants to reduce disk usage by not installing documentation, he will also not want help files), so let's add them to the default %__docdir_path (cherry picked from commit 16d9074e1a3020f8844ed4a213fb92e844d8f9ad)
-rw-r--r--macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index bfe40277a..4fff9004a 100644
--- a/macros.in
+++ b/macros.in
@@ -570,7 +570,7 @@ package or when debugging this package.\
%_filter_GLIBC_PRIVATE 0
# Directories whose contents should be considered as documentation.
-%__docdir_path %{_datadir}/doc:%{_datadir}/man:%{_datadir}/info:%{_datadir}/gtk-doc/html:%{?_docdir}:%{?_mandir}:%{?_infodir}:%{?_javadocdir}:/usr/doc:/usr/man:/usr/info:/usr/X11R6/man
+%__docdir_path %{_datadir}/doc:%{_datadir}/man:%{_datadir}/info:%{_datadir}/gtk-doc/html:%{_datadir}/gnome/help:%{?_docdir}:%{?_mandir}:%{?_infodir}:%{?_javadocdir}:/usr/doc:/usr/man:/usr/info:/usr/X11R6/man
#
# Path to scripts to autogenerate package dependencies,