[shippy] Rebuild for new allegro-4.4
Hans de Goede
jwrdegoede at fedoraproject.org
Sat Jul 16 13:20:42 UTC 2011
commit 1d6abca9bb12388f2d89d2309dcdfcdc9b43fbf7
Author: Hans de Goede <hdegoede at redhat.com>
Date: Sat Jul 16 15:21:51 2011 +0200
Rebuild for new allegro-4.4
shippy.spec | 25 +++++++++++--------------
1 files changed, 11 insertions(+), 14 deletions(-)
---
diff --git a/shippy.spec b/shippy.spec
index 29d8584..79c58b7 100644
--- a/shippy.spec
+++ b/shippy.spec
@@ -1,6 +1,6 @@
Name: shippy
Version: 1.3.3.7
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Space invaders / Galaxians like game with powerups
Group: Amusements/Games
License: GPL+
@@ -10,7 +10,6 @@ Source1: shippy.png
Source2: shippy.desktop
Source3: shippy.sh
Patch0: shippy-merged.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: dumb-devel SDL_mixer-devel desktop-file-utils
Requires: %{name}-common = %{version}, hicolor-icon-theme
Provides: %{name}-engine = %{version}
@@ -65,7 +64,6 @@ mv %{name} %{name}-allegro
%install
-rm -rf $RPM_BUILD_ROOT
# no make install target so DIY
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/%{name}
@@ -88,22 +86,18 @@ install -p -m 644 %{SOURCE1} \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%post
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
%files
%defattr(-,root,root,-)
@@ -124,6 +118,9 @@ fi
%changelog
+* Sat Jul 16 2011 Hans de Goede <hdegoede at redhat.com> - 1.3.3.7-11
+- Rebuild for new allegro-4.4
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.3.7-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list