Blame SOURCES/fontpackages-drop-fccache.patch

7de3db
diff -pruN fontpackages-1.44.orig/rpm/macros.fonts fontpackages-1.44/rpm/macros.fonts
7de3db
--- fontpackages-1.44.orig/rpm/macros.fonts	2010-06-13 23:43:19.000000000 +0900
7de3db
+++ fontpackages-1.44/rpm/macros.fonts	2015-09-07 11:19:25.787718394 +0900
7de3db
@@ -74,18 +74,6 @@ print(meld(meld(pkgname,fontname),subnam
7de3db
 
7de3db
 %_font_pkg(n:f:) \
7de3db
 %define spn %_font_pkg_name %{-n:%{-n*}} \
7de3db
-%post -n %{spn} \
7de3db
-if [ -x %{_bindir}/fc-cache ]; then \
7de3db
-    %{_bindir}/fc-cache %{_fontdir} || : \
7de3db
-fi \
7de3db
-\
7de3db
-\
7de3db
-%postun -n %{spn}  \
7de3db
-if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then \
7de3db
-    %{_bindir}/fc-cache %{_fontdir} || : \
7de3db
-fi\
7de3db
-\
7de3db
-\
7de3db
 %files -n %{spn} \
7de3db
 %defattr(0644,root,root,0755) \
7de3db
 \