Re: RPM %doc directive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mattia Verga via devel wrote:
> But using
> '%doc %{_pkgdocdir}/python_module/README.md'
> returns
> 'Can't mix special %doc with other forms: 
> /usr/share/doc/siril/python_module/README.md'

I'm surprised that that's considered an error. I would have thought it
would work, but I also think it's not needed. I have found that files
under /usr/share/doc are automatically marked as documentation, so you
don't need "%doc". Verify with "rpm --query --docfiles <package>".

When the concept of license files was added to RPM, I expected it to
work analogously to documentation files, but when I checked, files
under /usr/share/licenses were *not* automatically marked as license
files. Thus I put constructs like "%license %{_licensedir}/%{name}" in
my spec files, and that has worked for me.

Björn Persson

Attachment: pgph_yY9E0Nez.pgp
Description: OpenPGP digital signatur

-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux