On Thu, Feb 19, 2026 at 5:21 PM Troels Arvin via devel <[email protected]> wrote: > > Hello, > > 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 greedy glob thing is not allowed, and this is described here: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_explicit_lists The man page guidance is here: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages The valid option is "%{_mandir}/man1/%{name}.1*" -- 真実はいつも一つ!/ Always, there's only one truth! -- _______________________________________________ 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
