[Fedora-packaging] Re: why not %{_datadir} on fonts scripletsnippet

Rex Dieter rdieter at math.unl.edu
Thu Jul 26 13:57:16 UTC 2007


Jens Petersen wrote:

http://fedoraproject.org/wiki/Packaging/ScriptletSnippets#head-4863fc4c93cec14292719d8901d83f5d90c3e477
> The "Fonts" scriptlets currently have:
>    %{_bindir}/fc-cache /usr/share/fonts
> is there some subtle reason for not using %{_datadir} here?

afaik, no.

> I'll for responses before changing it to:
>    %{_bindir}/fc-cache %{_datadir}/fonts

do it.  Maybe even go one step further, and either say change to
%{_bindir}/fc-cache <font_dir_actually_used_in_this_pkg>
or even just
%{_bindir}/fc-cache

-- Rex




More information about the Fedora-packaging mailing list