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:
parent
612a821192
commit
c4e72e7ff3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user