]> git.pld-linux.org Git - packages/fontconfig.git/blobdiff - fontconfig.spec
- regenerate fontcache
[packages/fontconfig.git] / fontconfig.spec
index dfd57c6b01cd5929c71b076a641fbcae295e53da..32836263f93c4dcbd615b8edb871a0d4aa8060fd 100644 (file)
@@ -23,6 +23,7 @@ BuildRequires:        ed
 BuildRequires: expat-devel
 BuildRequires: freetype-devel
 BuildRequires: libtool
+Requires(post): /sbin/ldconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -83,8 +84,11 @@ install fc-list/fc-list.man $RPM_BUILD_ROOT%{_mandir}/man1/fc-list.3
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -p /sbin/ldconfig
-%postun        -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+HOME=/root %{_bindir}/fc-cache -f 2> /dev/null
+
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
This page took 0.021942 seconds and 4 git commands to generate.