[xblast] Rebuild for new SDL_gfx
Hans de Goede
jwrdegoede at fedoraproject.org
Fri Jul 15 14:17:11 UTC 2011
commit ddb983106f15cfcc673e78fca8957bb5a4d2cafb
Author: Hans de Goede <hdegoede at redhat.com>
Date: Fri Jul 15 16:18:17 2011 +0200
Rebuild for new SDL_gfx
xblast.spec | 25 +++++++++++--------------
1 files changed, 11 insertions(+), 14 deletions(-)
---
diff --git a/xblast.spec b/xblast.spec
index 49f7ab4..8872370 100644
--- a/xblast.spec
+++ b/xblast.spec
@@ -1,6 +1,6 @@
Name: xblast
Version: 2.10.4
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Lay bombs and Blast the other players of the field (SDL version)
Group: Amusements/Games
License: GPLv2+
@@ -11,7 +11,6 @@ Source2: xblast.desktop
Source3: xblast.sh
Patch0: xblast-2.10.4-sdl-fixes.patch
Patch1: xblast-2.10.4-manpage.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libXt-devel gettext gawk desktop-file-utils SDL_gfx-devel
BuildRequires: SDL_image-devel SDL_ttf-devel SDL_mixer-devel SDL_net-devel
Requires: %{name}-data >= 2.10.0, %{name}-common = %{version}-%{release}
@@ -73,7 +72,6 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make install localedir=%{_datadir}/locale DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
@@ -94,22 +92,18 @@ install -p -m 644 %{SOURCE1} \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%post common
-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 common
-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 common
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
%files
%defattr(-,root,root,-)
@@ -130,6 +124,9 @@ fi
%changelog
+* Fri Jul 15 2011 Hans de Goede <hdegoede at redhat.com> - 2.10.4-10
+- Rebuild for new SDL_gfx
+
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.10.4-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list