[urw-fonts] post scriptlet cleanup, dont redirect it to dev/null either

Tom Callaway spot at fedoraproject.org
Thu May 2 16:24:59 UTC 2013


commit bed9f6298d450f371265ad7434e52f6f4a1cb56f
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Thu May 2 12:24:26 2013 -0400

    post scriptlet cleanup, dont redirect it to dev/null either

 urw-fonts.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/urw-fonts.spec b/urw-fonts.spec
index bc7680c..01113e2 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: 14%{?dist}
+Release: 15%{?dist}
 Source: %{name}-%{filippov_version}.tar.bz2
 URL: http://svn.ghostscript.com/ghostscript/tags/urw-fonts-1.0.7pre44/
 # URW holds copyright
@@ -45,7 +45,7 @@ ln -sf %{fontdir} $RPM_BUILD_ROOT%{catalogue}/fonts-default
 {
    umask 133
    mkfontscale %{fontdir} || :
-   `which mkfontdir` %{fontdir} || :
+   mkfontdir %{fontdir} || :
    fc-cache %{_datadir}/fonts
 } &> /dev/null || :
 
@@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
 %{fontdir}/*.pfb
 
 %changelog
+* 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
+
 * Tue Feb 26 2013 Susi Lehtola <jussilehtola at fedoraproject.org> - 2.4-14
 - Added Requires(post): xorg-x11-font-utils (BZ #478786).
 


More information about the fonts-bugs mailing list