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

Caius Chance (cchance) fedora-extras-commits at redhat.com
Mon Aug 20 01:21:46 UTC 2007


Author: cchance

Update of /cvs/pkgs/rpms/fonts-korean/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1043

Modified Files:
	fonts-korean.spec 
Log Message:
* Mon Aug 20 2007 Caius Chance <cchance at redhat.com> - 2.2-3.fc8
- Resolves: rhbz#252272 (Drop chkfontpath dependency.)
  ^^^ Removed chkfontpath, added TrueType directory specification in fc-cache.




Index: fonts-korean.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fonts-korean/devel/fonts-korean.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- fonts-korean.spec	17 Aug 2007 07:56:14 -0000	1.20
+++ fonts-korean.spec	20 Aug 2007 01:21:13 -0000	1.21
@@ -14,7 +14,7 @@
 
 Name:           fonts-korean
 Version:        2.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        Distributable
 Group:          User Interface/X
 URL:            http://kldp.net/frs/?group_id=57&release_id=865
@@ -88,20 +88,15 @@
     touch %{ttfontdir} 2> /dev/null && {
         %{_bindir}/ttmkfdir -d %{ttfontdir} -o %{ttfontdir}/fonts.scale
         mkfontdir %{ttfontdir}
-        %{_sbindir}/chkfontpath -q -a %{ttfontdir}
     }
-    mkfontdir %{bmpfontdir} && %{_sbindir}/chkfontpath -q -a %{bmpfontdir}
-    fc-cache 2> /dev/null
+    mkfontdir %{bmpfontdir} 
+    fc-cache -sf %{ttfontdir} 2> /dev/null
 }
 
 
 %postun
 {
-    if [ "$1" = "0" ]; then
-        %{_sbindir}/chkfontpath -q -r %{ttfontdir}
-        %{_sbindir}/chkfontpath -q -r %{bmpfontdir}
-    fi
-    fc-cache 2> /dev/null
+    fc-cache -sf %{ttfontdir} 2> /dev/null
 }
 
 
@@ -128,6 +123,10 @@
 %{catalogue}/fonts-korean
 
 %changelog
+* Mon Aug 20 2007 Caius Chance <cchance at redhat.com> - 2.2-3.fc8
+- Resolves: rhbz#252272 (Drop chkfontpath dependency.)
+  ^^^ Removed chkfontpath, added TrueType directory specification in fc-cache.
+
 * Fri Aug 17 2007 Jens Petersen <petersen at redhat.com>
 - remove %%baekmukdocdir and list doc files
 




More information about the fedora-extras-commits mailing list