On 04/27/2011 04:56 AM, Vít Ondruch wrote:
> Marking files as %doc helps from the perspective that you can pass in
> --excludedocs to "rpm -i".
> This is useful for installing packages on systems w/ limited disk space,
> or without the documentation dependencies (man for example),
Mamoru should comment on this since he is the fan of not marking files
as a %doc in -doc subpackage.
Ah srry should've clarified. This isn't for the -doc subpackage per-se
(I agree it doesn't make a whole lot of sense to mark the files as %doc
there), but rather for the main package.
%doc allows you to separate the documentation from the main
functionality in the main package without creating a documentation
Its just up to the packager to choose which one they think will keep
their package(s) more organized and simpler.