Re: Do we need a Rule "Docs should be packaged as %doc"?

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

 



On Tue, 2006-08-08 at 09:57 -0500, Jason L Tibbitts III wrote:
> This can conflict with the absolute rule that the package not depend
> on any of its documentation for proper operation.  This happens with
> about boxes that read LICENSE, and programs with internal
> documentation browsers.  

The packager would have to check the operation of the program to know
which it falls under.  If the documentation really is documentation
rather than data for the program it should be marked %doc, though.

A further question, do docs have to be marked as:
  %doc example/

Or would this be acceptable:
  %doc %{_datadir}/[APP]/example

I lean towards the former as it makes for a central location to look for
local documentation whereas the latter can leave documentation scattered
all over the filesystem.

> Also, some files are treated as %doc without
> needing to be marked as such.
> 
I think this is by pathname, though.
So /usr/share/doc/* /usr/man/* /usr/info/* would be automatically marked
but /usr/share/[APP]/doc would not.

-Toshio

Attachment: signature.asc
Description: This is a digitally signed message part

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux