rpms/cjkunifonts/devel cjkunifonts.spec,1.21,1.22

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


Author: behdad

Update of /cvs/pkgs/rpms/cjkunifonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27426

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



Index: cjkunifonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cjkunifonts/devel/cjkunifonts.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- cjkunifonts.spec	29 Oct 2008 01:26:52 -0000	1.21
+++ cjkunifonts.spec	7 Dec 2008 09:13:01 -0000	1.22
@@ -9,7 +9,7 @@
 
 Name:        cjkunifonts
 Version:     0.2.20080216.1
-Release:     9.2.fc11
+Release:     10.fc11
 #Release:     9.1%{?dist}
 Summary:     Chinese TrueType Fonts -- Simplified and Traditional Chinese Ming and Kai Face
 License:     Arphic
@@ -119,30 +119,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
 
@@ -203,6 +199,10 @@
 %{catalogue}/%{name}-ukai
 
 %changelog
+* Sun Dec  7 2008 Behdad Esfahbod <besfahbo at redhat.com> - 0.2.20080216.1-10.fc11
+- Don't umask before fc-cache.
+- Add -f to fc-cache.
+
 * Wed Oct 29 2008 Caius Chance <cchance at redhat.com> - 0.2.20080216.1-9.2.fc11
 - Resolves: rhbz#466667 (Reverted to 0.2.20080216.1-4 without conf.avail.)
 




More information about the fedora-extras-commits mailing list