some differences between "doc" stuff and "license" stuff

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

 



While introducing "%license" in my packages I have noticed these
differences that packagers should be aware of, which I haven't seen
documented:

· There is a macro named _licensedir which is analogous to _docdir, but
there is no _pkglicensedir corresponding to _pkgdocdir. Use
"%{_licensedir}/%{name}" instead.

· Files under /usr/share/doc are automatically tagged as documentation
files even if "%doc" isn't used. Files under /usr/share/licenses are not
automatically tagged as license files, so they need to be preceded by
"%license" in file lists.

· RPMlint warns about CRLF line terminators under /usr/share/doc but
not under /usr/share/licenses.

Björn Persson

Attachment: pgpYIGwbKEqiV.pgp
Description: OpenPGP digital signatur

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