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:31:09 +01:00 committed by Vit Mojzis
parent 3990f69ea3
commit 65071c8f4d

View File

@ -72,10 +72,10 @@ install -m644 %{SOURCE3} %{buildroot}%{_mandir}/man8/
%systemd_postun mcstransd.service
%files
%{_mandir}/man8/mcs.8.gz
%{_mandir}/man8/mcstransd.8.gz
%{_mandir}/man5/setrans.conf.5.gz
%{_mandir}/man8/secolor.conf.8.gz
%{_mandir}/man8/mcs.8*
%{_mandir}/man8/mcstransd.8*
%{_mandir}/man5/setrans.conf.5*
%{_mandir}/man8/secolor.conf.8*
/usr/sbin/mcstransd
%{_unitdir}/mcstrans.service
%{_unitdir}/mcstransd.service