From 9e1046a7e74fc3c09effe1e9e385cc6808b60b3b Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Sun, 29 Sep 2019 22:58:19 -0400 Subject: rpm: correct man page entry in files section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- redhat/git-remote-gcrypt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3