]> git.pld-linux.org Git - packages/fontconfig.git/commitdiff
- regenerate fontcache
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 22 Oct 2002 21:02:45 +0000 (21:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fontconfig.spec -> 1.11

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.123875 seconds and 4 git commands to generate.