<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Feb 9, 2014 at 10:40 AM, John Morris <span dir="ltr">&lt;<a href="mailto:john@zultron.com" target="_blank">john@zultron.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 02/09/2014 02:32 AM, Miloslav Trmač wrote:<br>
&gt; On Sun, Feb 9, 2014 at 9:16 AM, John Morris &lt;<a href="mailto:john@zultron.com">john@zultron.com</a><br>
</div><div><div class="h5">&gt; &lt;mailto:<a href="mailto:john@zultron.com">john@zultron.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Right now, a &quot;sample-configs&quot; directory is installed into<br>
&gt;     ${prefix}/share/doc/linuxcnc/examples.<br>
&gt;<br>
&gt;     This is a typical pattern, at first glance, but it turns out that the<br>
&gt;     GUIs actually present these as base configurations to users, and do bad<br>
&gt;     things when they are not present.<br>
&gt;<br>
&gt;     The Fedora Packaging Guidelines are clear that these files must not be<br>
&gt;     marked as %doc [1].  However, neither source I found for documentation<br>
&gt;     packaging [1,2] said clearly whether files not marked as %doc are<br>
&gt;     allowed in %{_defaultdocdir}/%{name}-%{version} (and neither mentions<br>
&gt;     that fc20 doc dirs seem to be unversioned).<br>
&gt;<br>
&gt;<br>
&gt; I think the ultimate arbiter is whether (rpm -Uvh --excludedocs<br>
&gt; $that_package) will install the files or not.  --excludedocs is what the<br>
&gt; users are supposed to be using to install without documentation, not (rm<br>
&gt; -rf /usr/share/doc $and_a_dozen_of_other_paths).<br>
<br>
</div></div>I&#39;m having trouble with this.  To rephrase your reply, as I understand it:<br>
<br>
  The arbiter of whether Fedora Packaging Guidelines allows non-%doc<br>
  files to be installed in /usr/share/doc and other locations [like<br>
  what?] is whether or not &#39;--excludedocs&#39; will install the files.<br></blockquote><div><br></div><div>Yes: the intent of the guideline is to &quot;make --excludedocs work&quot;.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I imagine the &#39;--excludedocs&#39; argument does not affect files *not*<br>
marked as %doc, even if installed in /usr/share/doc.  Could you mean<br>
that, non-%doc files would be installed there despite &#39;--excludedocs&#39; is<br>
a violation of Guidelines?<br>
<br>
Restating the question [omitted in the reply]:  By Fedora Packaging<br>
Guidelines, are runtime-dependent files (*not* marked as %doc, of<br>
course!) allowed in %{_defaultdocdir}/%{name}-%{version}?<br></blockquote><div><br></div><div>&quot;The guidelines are unclear, but --excludedocs is how you determine what they meant to say&quot;.  </div></div><br></div>
<div class="gmail_extra">Michael has said that anything in /usr/share/doc is implicitly marked as %doc , so that settles that: The files you are asking about can&#39;t exist.<br></div><div class="gmail_extra">     Mirek<br>
</div></div>