Re: Doc packaging questions

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

 



On Tue, Jul 23, 2013 at 2:47 PM, Nico Kadel-Garcia <nkadel@xxxxxxxxx> wrote:
> Try "rpm --showrc".

I did.  I'm 99% sure this is what I did when I tried to figure this
out for nodejs:

% rpm --showrc | grep doc
<snip>

Oh, there's a %{_docdir}!

% rpm -E '%{_docdir}'
%{_docdir}

Sad panda.  *Looks back at 'showrc' output.*  Hmm, there's a
%{_defaultdocdir} too...

% rpm -E '%{_defaultdocdir}'
/usr/share/doc

Yay!!!  Teh users can haz docs now!

I'm not aware of any other directory macro that works like this.  It's
obvious why macros like %{name} and %{summary} won't eval but there's
no reason why I would expect %{_docdir} not to.  (If it evaluated like
%{_pkgdocdir} is planned to that would be a different story...)

-T.C.
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux