commit 9040117821d81202c1a32197ad9e32b90415f428
Author: Ville Skyttä <[email protected]>
Date: Mon May 30 00:24:15 2011 +0300
Own %ghosted fonts.dir and fonts.scale.
ghostscript-fonts.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/ghostscript-fonts.spec b/ghostscript-fonts.spec
index e19bb74..2ee473b 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: 25%{?dist}
+Release: 26%{?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).
@@ -15,7 +15,7 @@ Source2: SIL-Open-Font-License.txt
# gnu-gs-fonts-other-5.50 contains fonts with a non-free license (bug #690593).
# Therefore we use this script to remove those fonts before shipping
# it. Download the upstream tarball (from
-# http://ftp.gnu.org/gnu/ghostcript/gnu/) and invoke this script while in
+# http://ftp.gnu.org/gnu/ghostscript/) and invoke this script while in
# the tarball's directory:
# ./generate-tarball.sh 5.50
Source3: generate-tarball.sh
@@ -44,6 +44,9 @@ rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{fontdir}
cp -p fonts/* $RPM_BUILD_ROOT%{fontdir}
+# Touch ghosted files
+touch $RPM_BUILD_ROOT%{fontdir}/fonts.{dir,scale}
+
# Install catalogue symlink
mkdir -p $RPM_BUILD_ROOT%{catalogue}
ln -sf %{fontdir} $RPM_BUILD_ROOT%{catalogue}/default-ghostscript
@@ -70,8 +73,13 @@ rm -rf $RPM_BUILD_ROOT
%doc Kevin_Hartig-Font_License.txt SIL-Open-Font-License.txt
%{_datadir}/fonts/default/
%{catalogue}/default-ghostscript
+%ghost %verify(not md5 size mtime) %{fontdir}/fonts.dir
+%ghost %verify(not md5 size mtime) %{fontdir}/fonts.scale
%changelog
+* Mon May 30 2011 Ville Skyttä <[email protected]> - 5.50-26
+- Own %%ghosted fonts.dir and fonts.scale.
+
* Fri Mar 25 2011 Tim Waugh <[email protected]> 5.50-25
- Removed non-free fonts (bug #690593).
_______________________________________________
fonts-bugs mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs
http://fonts.fedoraproject.org/