[Fedora-packaging] Doc packaging questions

Nico Kadel-Garcia nkadel at gmail.com
Tue Jul 23 21:47:13 UTC 2013


On Tue, Jul 23, 2013 at 4:00 PM, T.C. Hollingsworth
<tchollingsworth at gmail.com> wrote:
> On Tue, Jul 23, 2013 at 12:33 PM, Ville Skyttä <ville.skytta at iki.fi> wrote:
>> Related to the unversioned docdirs F-20 feature [1], here's a couple of
>> questions:
>>
>> 1) Should specfiles be using %{_docdir} or %{_defaultdocdir} when
>> referring to the /usr/share/doc dir? Both seem to work, both are being
>> used. To me %{_docdir} sounds better for some reason.
>
> Only the latter one seems to work?
>
> % rpm -E '%{_docdir}'
> %{_docdir}
>
> % rpm -E '%{_defaultdocdir}'
> /usr/share/doc


Try "rpm --showrc".


More information about the packaging mailing list