Fix manpages pattern

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages

    When installing man pages, note that RPM will re-compress them into
    its preferred format. So the %files section MUST reference manpages
    with a pattern that takes this into account:

    %files
    %{_mandir}/man1/foo.1*
This commit is contained in:
Petr Lautrbach 2025-12-09 07:22:08 +01:00 committed by Vit Mojzis
parent dd437444f6
commit 573c256ed6

View File

@ -58,8 +58,8 @@ install test/dispol ${RPM_BUILD_ROOT}%{_bindir}/sedispol
%license LICENSE
%{_bindir}/checkpolicy
%{_bindir}/checkmodule
%{_mandir}/man8/checkpolicy.8.gz
%{_mandir}/man8/checkmodule.8.gz
%{_mandir}/man8/checkpolicy.8*
%{_mandir}/man8/checkmodule.8*
%{_bindir}/sedismod
%{_bindir}/sedispol