Packaging guidelines for documentation clairfication needed

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

 



While working through a package review[1] this excerpt from the documentation section[2] was brought to my attention:

"Marking a relative path with %doc in the %files section will cause RPM to copy the referenced file or directory from %_builddir to the proper location for documentation. Files can also be placed in %_pkgdocdir, and the build scripts of the software being packaged may do this automatically when called in %install. However, mixing these methods is problematic and may result in duplicated or conflicting files, so use of %doc with relative paths and installation of files directly into %_pkgdocdir in the same source package is forbidden."

In my case the project is installing html documentation during "make install". Reading this pedantically, it would appear that would prevent me from using %doc to install the obligatory COPYING, README, ChangeLog, NEWS, etc...

This doesn't seem to be very practical and I'm not sure that's what was intended by the guidelines.

Thoughts?

Thanks,
Richard

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1221781
[2] https://fedoraproject.org/wiki/Packaging:Guidelines#Documentation
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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