From 65071c8f4d037a64ebbee37013489e002d7efdba Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Tue, 9 Dec 2025 07:31:09 +0100 Subject: [PATCH] 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* --- mcstrans.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mcstrans.spec b/mcstrans.spec index 3dfdae6..04f718f 100644 --- a/mcstrans.spec +++ b/mcstrans.spec @@ -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