[urw-fonts/f19] fix scriptlets to run fc-cache on the specific font dir (bz 1021755)
Tom Callaway
spot at fedoraproject.org
Wed Nov 20 20:35:55 UTC 2013
commit b56ac068267a7aec899671f60e8fcdf516855979
Author: Tom Callaway <spot at fedoraproject.org>
Date: Wed Nov 20 15:36:23 2013 -0500
fix scriptlets to run fc-cache on the specific font dir (bz 1021755)
urw-fonts.spec | 27 +++++++++++++++++----------
1 files changed, 17 insertions(+), 10 deletions(-)
---
diff --git a/urw-fonts.spec b/urw-fonts.spec
index 01113e2..a91bb96 100644
--- a/urw-fonts.spec
+++ b/urw-fonts.spec
@@ -1,25 +1,23 @@
-%define filippov_version 1.0.7pre44
-%define fontdir %{_datadir}/fonts/default/Type1
-%define catalogue /etc/X11/fontpath.d
+%global filippov_version 1.0.7pre44
+%global fontdir %{_datadir}/fonts/default/Type1
+%global catalogue /etc/X11/fontpath.d
Summary: Free versions of the 35 standard PostScript fonts.
Name: urw-fonts
Version: 2.4
-Release: 15%{?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
+# URW holds copyright, No version specified
License: GPL+
Group: User Interface/X
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
Requires(post): fontconfig
Requires(post): xorg-x11-font-utils
Requires(postun): fontconfig
%description
-Free, good quality versions of the 35 standard PostScript(TM) fonts,
+Free good quality versions of the 35 standard PostScript(TM) fonts,
donated under the GPL by URW++ Design and Development GmbH.
Install the urw-fonts package if you need free versions of standard
@@ -46,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 || :
@@ -73,6 +71,15 @@ 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
+
+* Mon May 06 2013 Than Ngo <than at redhat.com> - 2.4-16
+- cleanup specfile
+
* Thu May 2 2013 Tom Callaway <spot at fedoraproject.org> - 2.4-15
- simplify post scriptlet a bit, don't drop output to /dev/null for debugging purposes
More information about the fonts-bugs
mailing list