From 6dc129085d98c6a611e5ff9e585dadd72676bae8 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Oct 23 2018 09:38:54 +0000 Subject: Drop fc-cache call from post/postun in rpm macro fc-cache is now supposed to be called by fontconfig's file trigger. --- diff --git a/rpm/macros.fonts b/rpm/macros.fonts index dc316bc..1107717 100644 --- a/rpm/macros.fonts +++ b/rpm/macros.fonts @@ -74,17 +74,6 @@ print(meld(meld(pkgname,fontname),subname) .. "-fonts") %_font_pkg(n:f:) \ %define spn %_font_pkg_name %{-n:%{-n*}} \ -%post -n %{spn} \ -if [ -x %{_bindir}/fc-cache ]; then \ - %{_bindir}/fc-cache %{_fontdir} || : \ -fi \ -\ -\ -%postun -n %{spn} \ -if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then \ - %{_bindir}/fc-cache %{_fontdir} || : \ -fi\ -\ \ %files -n %{spn} \ %dir %{_fontdir} \