From 17ff777ec67464f9e76953ed302585166aa96d94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 22 Oct 2002 21:02:45 +0000 Subject: [PATCH] - regenerate fontcache Changed files: fontconfig.spec -> 1.11 --- fontconfig.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fontconfig.spec b/fontconfig.spec index dfd57c6..3283626 100644 --- a/fontconfig.spec +++ b/fontconfig.spec @@ -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) -- 2.44.0