diff options
author | Mikhail Novosyolov <m.novosyolov@rosalinux.ru> | 2020-06-28 14:53:34 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2020-08-31 11:52:07 +0300 |
commit | baee9e8d9574c59eb7c7357786a392b1a5d37ffd (patch) | |
tree | dd1328fb0e8356c8dcaca5cd0023ce21a6b9a55a | |
parent | 02e032e61dad1647657d560d07fd551c328a0fbd (diff) | |
download | rpm-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.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |