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

Nicolas Mailhot nicolas.mailhot at laposte.net
Thu Jul 26 14:08:12 UTC 2007


Le Jeu 26 juillet 2007 15:57, Rex Dieter a écrit :
> Jens Petersen wrote:

>> 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>

This one is easy as a lot of font specfiles already define a
font_dir_actually_used_in_this_pkg shorthand

However, I'm not sure if pointing fc-cache just at this dir is worth
it. Asking it to refresh everything is safer.

-- 
Nicolas Mailhot




More information about the Fedora-packaging mailing list