Re: Non-%doc files in %{_defaultdocdir}?

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

 



On Sun, Feb 9, 2014 at 9:16 AM, John Morris <john@xxxxxxxxxxx> 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
-- 
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