From 336cf1a889f6ca68aec04e3a64451496365f59a3 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Tue, 9 Dec 2025 07:41:56 +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* --- setroubleshoot.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setroubleshoot.spec b/setroubleshoot.spec index 09bb6b2..7f63239 100644 --- a/setroubleshoot.spec +++ b/setroubleshoot.spec @@ -178,10 +178,10 @@ to user preference. The same tools can be run on existing log files. %attr(0700,setroubleshoot,setroubleshoot) %dir %{pkgvardatadir} %ghost %attr(0600,setroubleshoot,setroubleshoot) %{pkgdatabase} %ghost %attr(0600,setroubleshoot,setroubleshoot) %{pkgvardatadir}/email_alert_recipients -%{_mandir}/man1/seapplet.1.gz -%{_mandir}/man8/sealert.8.gz -%{_mandir}/man8/sedispatch.8.gz -%{_mandir}/man8/setroubleshootd.8.gz +%{_mandir}/man1/seapplet.1* +%{_mandir}/man8/sealert.8* +%{_mandir}/man8/sedispatch.8* +%{_mandir}/man8/setroubleshootd.8* %config /etc/audit/plugins.d/sedispatch.conf %{_unitdir}/setroubleshootd.service %{_datadir}/dbus-1/system-services/org.fedoraproject.Setroubleshootd.service