From: Dusty Mabe Date: Mon, 30 Sep 2019 02:58:19 +0000 (-0400) Subject: rpm: correct man page entry in files section X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=9e1046a7e74fc3c09effe1e9e385cc6808b60b3b;p=gamesguru%2Fgit-remote-gcrypt.git rpm: correct man page entry in files section Code review comments [1]: - Man pages should not be marked as %doc - man pages extension should be globbed as the compression may change in the future. - the man page should be installed unzipped. The compression will be handled by the rpm build process. - %doc /usr/share/man/man1/%{name}.1.gz → %{_mandir}/man1/%{name}.1* [1] https://bugzilla.redhat.com/show_bug.cgi?id=1750179#c2 Signed-off-by: Dusty Mabe --- diff --git a/redhat/git-remote-gcrypt.spec b/redhat/git-remote-gcrypt.spec index 2813fd6..cba844e 100644 --- a/redhat/git-remote-gcrypt.spec +++ b/redhat/git-remote-gcrypt.spec @@ -36,7 +36,7 @@ export prefix="%{_prefix}" %files %{_bindir}/%{name} -%doc /usr/share/man/man1/%{name}.1.gz +%{_mandir}/man1/%{name}.1* %changelog