rpms/cjkunifonts/F-10 cjkunifonts.spec,1.22,1.23

Behdad Esfahbod behdad at fedoraproject.org
Sun Dec 7 09:09:13 UTC 2008


Author: behdad

Update of /cvs/pkgs/rpms/cjkunifonts/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26794

Modified Files:
	cjkunifonts.spec 
Log Message:
* Sun Dec  7 2008 Behdad Esfahbod <besfahbo at redhat.com> -
* 0.2.20080216.1-9.3.fc10
- Don't umask before fc-cache.
- Add -f to fc-cache.



Index: cjkunifonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cjkunifonts/F-10/cjkunifonts.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- cjkunifonts.spec	1 Dec 2008 05:23:52 -0000	1.22
+++ cjkunifonts.spec	7 Dec 2008 09:08:43 -0000	1.23
@@ -9,7 +9,7 @@
 
 Name:        cjkunifonts
 Version:     0.2.20080216.1
-Release:     9.2.fc10
+Release:     10.fc10
 Summary:     Chinese TrueType Fonts -- Simplified and Traditional Chinese Ming and Kai Face
 License:     Arphic
 Group:       User Interface/X
@@ -118,30 +118,26 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post uming
-umask 133
 if [ -x %{_bindir}/fc-cache ]; then
-    %{_bindir}/fc-cache %{umingfontdir}
+    %{_bindir}/fc-cache -f %{umingfontdir}
 fi
 
 %post ukai
-umask 133
 if [ -x %{_bindir}/fc-cache ]; then
-    %{_bindir}/fc-cache %{ukaifontdir}
+    %{_bindir}/fc-cache -f %{ukaifontdir}
 fi
 
 %postun uming
 if [ "$1" = 0 ]; then
-    umask 133
     if [ -x %{_bindir}/fc-cache ]; then
-        %{_bindir}/fc-cache %{_datadir}/fonts
+        %{_bindir}/fc-cache -f %{_datadir}/fonts
     fi
 fi
 
 %postun ukai
 if [ "$1" = 0 ]; then
-    umask 133
     if [ -x %{_bindir}/fc-cache ]; then
-        %{_bindir}/fc-cache %{_datadir}/fonts
+        %{_bindir}/fc-cache -f %{_datadir}/fonts
     fi
 fi
 
@@ -202,6 +198,10 @@
 %{catalogue}/%{name}-ukai
 
 %changelog
+* Sun Dec  7 2008 Behdad Esfahbod <besfahbo at redhat.com> - 0.2.20080216.1-10.fc10
+- Don't umask before fc-cache.
+- Add -f to fc-cache.
+
 * Mon Dec 01 2008 Caius Chance <cchance at redhat.com> - 0.2.20080216.1-9.2.fc10
 - Rebuild for Fedora 10.
 




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