Non-%doc files in %{_defaultdocdir}?

Miloslav Trmač mitr at volny.cz
Sun Feb 9 08:32:04 UTC 2014


On Sun, Feb 9, 2014 at 9:16 AM, John Morris <john at zultron.com> wrote:

> Right now, a "sample-configs" directory is installed into
> ${prefix}/share/doc/linuxcnc/examples.
>
> This is a typical pattern, at first glance, but it turns out that the
> GUIs actually present these as base configurations to users, and do bad
> things when they are not present.
>
> The Fedora Packaging Guidelines are clear that these files must not be
> marked as %doc [1].  However, neither source I found for documentation
> packaging [1,2] said clearly whether files not marked as %doc are
> allowed in %{_defaultdocdir}/%{name}-%{version} (and neither mentions
> that fc20 doc dirs seem to be unversioned).
>

I think the ultimate arbiter is whether (rpm -Uvh --excludedocs
$that_package) will install the files or not.  --excludedocs is what the
users are supposed to be using to install without documentation, not (rm
-rf /usr/share/doc $and_a_dozen_of_other_paths).
     Mirek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20140209/fb553b66/attachment.html>


More information about the devel mailing list