rpms/bitmap/EL-6 bitmap.spec,1.7,1.8

Mark Chappell tremble at fedoraproject.org
Thu Jul 8 07:08:36 UTC 2010


Author: tremble

Update of /cvs/pkgs/rpms/bitmap/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv19745

Modified Files:
	bitmap.spec 
Log Message:
Update to match rawhide before initial EL-6 build


Index: bitmap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bitmap/EL-6/bitmap.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- bitmap.spec	24 Jul 2009 18:06:49 -0000	1.7
+++ bitmap.spec	8 Jul 2010 07:08:36 -0000	1.8
@@ -1,6 +1,6 @@
 Name: bitmap
 Version: 1.0.3
-Release: 6%{?dist}
+Release: 7%{?dist}
 Summary: Bitmap editor and converter utilities for the X Window System
 Group: User Interface/X
 Url: http://www.x.org
@@ -57,12 +57,20 @@ rm -rf %{buildroot}
 
 
 %post
-touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+# update the icon cache, if it exists
+if [ -d %{_datadir}/icons/hicolor -a -x %{_bindir}/gtk-update-icon-cache ]
+then
+  touch %{_datadir}/icons/hicolor
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+fi
 
 %postun
-touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+# update the icon cache, if it exists
+if [ -d %{_datadir}/icons/hicolor -a -x %{_bindir}/gtk-update-icon-cache ]
+then
+  touch %{_datadir}/icons/hicolor
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+fi
 
 
 %files
@@ -79,6 +87,9 @@ touch --no-create %{_datadir}/icons/hico
 %{_mandir}/man1/*.1*
 
 %changelog
+* Tue Dec 15 2009 Stepan Kasal <skasal at redhat.com> - 1.0.3-7
+- silence scriptlets
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.3-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 



More information about the scm-commits mailing list