On Sun, 25 May 2025 16:16:45 +0000, Mattia Verga via devel wrote: > So, if I understand correctly, I should use %doc only when I need to > "manually" copy docfiles from builddir to buildroot, instead if a > package already install docfiles in the correct position I just have > to list as "regular" files.
No. %doc on absolute paths works fine. It's just redundant, if the path starts with a prefix from the list in %__docdir_path. Then you get automatic %doc attributes. Such as for files /usr/share/doc (= %_docdir). -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue