Fixup handling of /var/cache/fontconfig/stamp to be generated on target

system as part of preinstall rather than being packaged.
This commit is contained in:
Carl Worth 2005-12-21 23:47:28 +00:00
parent 612a821192
commit c4e72e7ff3

View File

@ -83,10 +83,14 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/fonts
# Remove unpackaged files
rm $RPM_BUILD_ROOT%{_libdir}/*.la
rm $RPM_BUILD_ROOT%{_localstatedir}/cache/fontconfig/stamp
%clean
rm -rf $RPM_BUILD_ROOT
%pre
touch %{_localstatedir}/cache/fontconfig/stamp
%post
/sbin/ldconfig