rpms/fonts-hebrew-fancy/devel fonts-hebrew-fancy.spec,1.2,1.3

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Mon May 14 13:09:44 UTC 2007


Author: rdieter

Update of /cvs/pkgs/rpms/fonts-hebrew-fancy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8152

Modified Files:
	fonts-hebrew-fancy.spec 
Log Message:
* Mon May 14 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.20051122-2
- robust scriptlets (#238917)



Index: fonts-hebrew-fancy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fonts-hebrew-fancy/devel/fonts-hebrew-fancy.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- fonts-hebrew-fancy.spec	16 Sep 2006 17:34:45 -0000	1.2
+++ fonts-hebrew-fancy.spec	14 May 2007 13:09:10 -0000	1.3
@@ -2,7 +2,7 @@
 
 Name: fonts-hebrew-fancy
 Version: 0.20051122
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPL
 Source0: http://culmus.sourceforge.net/fancy/comix.tar.gz
 Source1: http://culmus.sourceforge.net/fancy/dorian.tar.gz
@@ -47,11 +47,15 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-fc-cache %{_datadir}/fonts/hebrew-fancy
+if [ -x %{_bindir}/fc-cache ]; then
+  %{_bindir}/fc-cache %{_datadir}/fonts/hebrew-fancy
+fi
 
 %postun
 if [ "$1" = "0" ]; then
-	fc-cache %{_datadir}/fonts
+  if [ -x %{_bindir}/fc-cache ]; then
+    %{_bindir}/fc-cache %{_datadir}/fonts
+  fi
 fi
 
 %files
@@ -64,6 +68,9 @@
 %ghost %verify(not md5 size mtime) %{_datadir}/fonts/hebrew-fancy/fonts.cache-2
 
 %changelog
+* Mon May 14 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.20051122-2
+- robust scriptlets (#238917)
+
 * Sat Sep 16 2006 Dan Kenigsberg <danken at cs.technion.ac.il> 0.20051122-1
 - Rebuild for Fedora Extras 6
 - Make version number unrelated to the main Culmus version number. Bug #176051




More information about the fedora-extras-commits mailing list