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?

--
Regards,
Troels Arvin

--
_______________________________________________
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

Reply via email to