23 lines
666 B
Diff
23 lines
666 B
Diff
diff -pruN fontpackages-1.44.orig/rpm/macros.fonts fontpackages-1.44/rpm/macros.fonts
|
|
--- fontpackages-1.44.orig/rpm/macros.fonts 2010-06-13 23:43:19.000000000 +0900
|
|
+++ fontpackages-1.44/rpm/macros.fonts 2015-09-07 11:19:25.787718394 +0900
|
|
@@ -74,18 +74,6 @@ print(meld(meld(pkgname,fontname),subnam
|
|
|
|
%_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} \
|
|
%defattr(0644,root,root,0755) \
|
|
\
|