From 3437e11d2a199160061653b33939dba8997147fa Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Jul 08 2010 07:08:36 +0000 Subject: Update to match rawhide before initial EL-6 build --- diff --git a/bitmap.spec b/bitmap.spec index 5a51b03..5591c09 100644 --- a/bitmap.spec +++ b/bitmap.spec @@ -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/hicolor || : %{_mandir}/man1/*.1* %changelog +* Tue Dec 15 2009 Stepan Kasal - 1.0.3-7 +- silence scriptlets + * Fri Jul 24 2009 Fedora Release Engineering - 1.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild