rpms/ghostscript-fonts/devel ghostscript-fonts.spec,1.20,1.21

Tim Waugh twaugh at fedoraproject.org
Wed Jun 10 14:20:23 UTC 2009


Author: twaugh

Update of /cvs/pkgs/rpms/ghostscript-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17798

Modified Files:
	ghostscript-fonts.spec 
Log Message:
* Wed Jun 10 2009 Tim Waugh <twaugh at redhat.com> 5.50-22
- Further changes from package review (bug #225794):
  - Don't use umask in scriptlet.
  - Don't use 'which' in scriptlet.



Index: ghostscript-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghostscript-fonts/devel/ghostscript-fonts.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- ghostscript-fonts.spec	10 Jun 2009 13:56:59 -0000	1.20
+++ ghostscript-fonts.spec	10 Jun 2009 14:19:52 -0000	1.21
@@ -1,7 +1,7 @@
 Summary: Fonts for the Ghostscript PostScript interpreter
 Name: ghostscript-fonts
 Version: 5.50
-Release: 21%{?dist}
+Release: 22%{?dist}
 # Contacted Kevin Hartig, who agreed to relicense his fonts under the SIL Open Font 
 # License. Hershey fonts are under the "Hershey Font License", which is not what Fontmap 
 # says (Fontmap is wrong).
@@ -43,9 +43,8 @@ ln -sf %{fontdir} $RPM_BUILD_ROOT%{catal
 
 %post
 {
-   umask 133
    mkfontscale %{fontdir}
-   `which mkfontdir` %{fontdir}
+   mkfontdir %{fontdir}
    fc-cache %{_datadir}/fonts
 } &> /dev/null || :
 
@@ -66,8 +65,13 @@ rm -rf $RPM_BUILD_ROOT
 %{catalogue}/default-ghostscript
 
 %changelog
+* Wed Jun 10 2009 Tim Waugh <twaugh at redhat.com> 5.50-22
+- Further changes from package review (bug #225794):
+  - Don't use umask in scriptlet.
+  - Don't use 'which' in scriptlet.
+
 * Wed Jun 10 2009 Tim Waugh <twaugh at redhat.com> 5.50-21
-- Changed from package review (bug #225794):
+- Changes from package review (bug #225794):
   - Requires xorg-x11-font-utils, not mkfontscale/mkfontdir.
   - Use macro for /etc.
   - Don't own catalogue directory.




More information about the Fedora-fonts-bugs-list mailing list