[urw-fonts] fix scriptlets to run fc-cache on the specific font dir (bz 1021755)
Tom Callaway
spot at fedoraproject.org
Wed Nov 20 20:48:26 UTC 2013
commit 80c8d7e5a032282c95b9d8d82bcb773a603b4125
Author: Tom Callaway <spot at fedoraproject.org>
Date: Wed Nov 20 15:48:56 2013 -0500
fix scriptlets to run fc-cache on the specific font dir (bz 1021755)
urw-fonts.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/urw-fonts.spec b/urw-fonts.spec
index d2f18fc..a91bb96 100644
--- a/urw-fonts.spec
+++ b/urw-fonts.spec
@@ -5,7 +5,7 @@
Summary: Free versions of the 35 standard PostScript fonts.
Name: urw-fonts
Version: 2.4
-Release: 17%{?dist}
+Release: 18%{?dist}
Source: %{name}-%{filippov_version}.tar.bz2
URL: http://svn.ghostscript.com/ghostscript/tags/urw-fonts-1.0.7pre44/
# URW holds copyright, No version specified
@@ -44,13 +44,13 @@ ln -sf %{fontdir} $RPM_BUILD_ROOT%{catalogue}/fonts-default
umask 133
mkfontscale %{fontdir} || :
mkfontdir %{fontdir} || :
- fc-cache %{_datadir}/fonts
+ fc-cache %{fontdir}
} &> /dev/null || :
%postun
{
if [ "$1" = "0" ]; then
- fc-cache %{_datadir}/fonts
+ fc-cache %{fontdir}
fi
} &> /dev/null || :
@@ -71,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
%{fontdir}/*.pfb
%changelog
+* Wed Nov 20 2013 Tom Callaway <spot at fedoraproject.org> - 2.4-18
+- fix scriptlets to run fc-cache on the specific font dir (bz 1021755)
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.4-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list