- Fix to create /var/cache/fontconfig/stamp in the post install stage.

This commit is contained in:
Carl Worth 2005-12-22 00:30:11 +00:00
parent c4e72e7ff3
commit 03a2256af8

View File

@ -3,7 +3,7 @@
Summary: Font configuration and customization library Summary: Font configuration and customization library
Name: fontconfig Name: fontconfig
Version: 2.3.93 Version: 2.3.93
Release: 1 Release: 2
License: MIT License: MIT
Group: System Environment/Libraries Group: System Environment/Libraries
Source: http://fontconfig.org/release/fontconfig-%{version}.tar.gz Source: http://fontconfig.org/release/fontconfig-%{version}.tar.gz
@ -88,12 +88,12 @@ rm $RPM_BUILD_ROOT%{_localstatedir}/cache/fontconfig/stamp
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%pre
touch %{_localstatedir}/cache/fontconfig/stamp
%post %post
/sbin/ldconfig /sbin/ldconfig
mkdir -p %{_localstatedir}/cache/fontconfig
touch %{_localstatedir}/cache/fontconfig/stamp
# Force regeneration of all fontconfig cache files # Force regeneration of all fontconfig cache files
# The check for existance is needed on dual-arch installs (the second # The check for existance is needed on dual-arch installs (the second
# copy of fontconfig might install the binary instead of the first) # copy of fontconfig might install the binary instead of the first)
@ -134,6 +134,9 @@ fi
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Dec 21 2005 Carl Worth <cworth@redhat.com> - 2.3.93-2
- Fix to create /var/cache/fontconfig/stamp in the post install stage.
* Wed Dec 21 2005 Carl Worth <cworth@redhat.com> - 2.3.93-1 * Wed Dec 21 2005 Carl Worth <cworth@redhat.com> - 2.3.93-1
- New upstream version. - New upstream version.