Skip to content

Commit

Permalink
rpm: correct man page entry in files section
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
dustymabe committed Oct 10, 2019
1 parent 7c71874 commit 9e1046a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redhat/git-remote-gcrypt.spec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export prefix="%{_prefix}"

%files
%{_bindir}/%{name}
%doc /usr/share/man/man1/%{name}.1.gz
%{_mandir}/man1/%{name}.1*

%changelog

0 comments on commit 9e1046a

Please sign in to comment.