On Thu, Feb 19, 2026 at 3:21 PM Troels Arvin via devel <[email protected]> wrote: > In a package called "topnfiles", I have a single man page man1/topnfiles.1 > > How should it be referred to in the %files part of a spec file? > > Here are some options: > > %{_mandir}/*/* > > %{_mandir}/man1/* > > %{_mandir}/man1/%{name}.1* > > %{_mandir}/man1/%{name}.1.gz > > The ones using globbing may appear sloppy, but I'm thinking: At some > point man pages are probably going to be compressed with something else > than gzip (such as zstd), and then a hardcoded ".gz" suffix would be > problematic? > > Is there somewhere where this is "officially" described?
The Packaging Guidelines cover this situation: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages -- Jerry James http://www.jamezone.org/ -- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
