rpms/fillets-ng/devel fillets-ng.spec,1.14,1.15

Matthias Saou thias at fedoraproject.org
Mon Dec 22 17:41:08 UTC 2008


Author: thias

Update of /cvs/extras/rpms/fillets-ng/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7021

Modified Files:
	fillets-ng.spec 
Log Message:
* Mon Dec 22 2008 Matthias Saou <http://freshrpms.net/> 0.8.0-2
- Add coreutils requirement for scriplets (#475931).
- Enclose gtk-update-icon-cache scriplet calls in "ifs".



Index: fillets-ng.spec
===================================================================
RCS file: /cvs/extras/rpms/fillets-ng/devel/fillets-ng.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- fillets-ng.spec	24 Feb 2008 12:53:20 -0000	1.14
+++ fillets-ng.spec	22 Dec 2008 17:40:38 -0000	1.15
@@ -1,7 +1,7 @@
 Summary: Fish Fillets Next Generation, a puzzle game with 70 levels
 Name: fillets-ng
 Version: 0.8.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: Amusements/Games
 URL: http://fillets.sourceforge.net/
@@ -12,8 +12,15 @@
 Patch1: fillets-ng-0.8.0-fribidi.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires: fillets-ng-data >= 0.8.0
-BuildRequires: SDL-devel, SDL_mixer-devel, SDL_image-devel, SDL_ttf-devel
-BuildRequires: lua-devel, fribidi-devel, desktop-file-utils
+BuildRequires: SDL-devel
+BuildRequires: SDL_mixer-devel
+BuildRequires: SDL_image-devel
+BuildRequires: SDL_ttf-devel
+BuildRequires: lua-devel
+BuildRequires: fribidi-devel
+BuildRequires: desktop-file-utils
+Requires(post): coreutils
+Requires(postun): coreutils
 
 %description
 Fish Fillets is strictly a puzzle game. The goal in every of the
@@ -57,11 +64,15 @@
 
 %post
 touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+    %{_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 || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+    %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
 
 
 %files
@@ -74,6 +85,10 @@
 
 
 %changelog
+* Mon Dec 22 2008 Matthias Saou <http://freshrpms.net/> 0.8.0-2
+- Add coreutils requirement for scriplets (#475931).
+- Enclose gtk-update-icon-cache scriplet calls in "ifs".
+
 * Sun Feb 24 2008 Matthias Saou <http://freshrpms.net/> 0.8.0-1
 - Update to 0.8.0.
 - Include patch to fix build with gcc 4.3.




More information about the fedora-extras-commits mailing list