commit b6648d8465f062c9ddb174fb4b03ad690f47114e
Author: Tim Waugh <[email protected]>
Date:   Tue Oct 22 10:54:01 2013 +0100

    Run fc-cache on our font directory, not the entire font collection (bug 
#1021757).
    
    Resolves: rhbz#1021757

 ghostscript-fonts.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/ghostscript-fonts.spec b/ghostscript-fonts.spec
index a63e7c6..e839ea6 100644
--- a/ghostscript-fonts.spec
+++ b/ghostscript-fonts.spec
@@ -1,7 +1,7 @@
 Summary: Fonts for the Ghostscript PostScript interpreter
 Name: ghostscript-fonts
 Version: 5.50
-Release: 31%{?dist}
+Release: 32%{?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).
@@ -58,13 +58,13 @@ ln -sf %{fontdir} 
$RPM_BUILD_ROOT%{catalogue}/default-ghostscript
 {
    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 || :
 
@@ -80,6 +80,10 @@ rm -rf $RPM_BUILD_ROOT
 %ghost %verify(not md5 size mtime) %{fontdir}/fonts.scale
 
 %changelog
+* Tue Oct 22 2013 Tim Waugh <[email protected]> - 5.50-32
+- Run fc-cache on our font directory, not the entire font collection
+  (bug #1021757).
+
 * Sat Aug 03 2013 Fedora Release Engineering <[email protected]> 
- 5.50-31
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
_______________________________________________
fonts-bugs mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs
http://fonts.fedoraproject.org/

Reply via email to