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 <dusty@dustymabe.com>
%files
%{_bindir}/%{name}
-%doc /usr/share/man/man1/%{name}.1.gz
+%{_mandir}/man1/%{name}.1*
%changelog