[boswars] - New upstream release 2.6.1

Hans de Goede jwrdegoede at fedoraproject.org
Sun Mar 13 11:53:30 UTC 2011


commit 13eea31abaa0b868e77d2748f32fdd65f0c251d8
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Sun Mar 13 12:55:22 2011 +0100

    - New upstream release 2.6.1

 .gitignore   |    1 +
 boswars.spec |   21 ++++++++++++---------
 sources      |    2 +-
 3 files changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1dac405..aea992f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 boswars-2.6-src.tar.gz
+/boswars-2.6.1-src.tar.gz
diff --git a/boswars.spec b/boswars.spec
index 52074d8..7241a35 100644
--- a/boswars.spec
+++ b/boswars.spec
@@ -1,6 +1,6 @@
 Name:           boswars
-Version:        2.6
-Release:        2%{?dist}
+Version:        2.6.1
+Release:        1%{?dist}
 Summary:        Bos Wars is a futuristic real-time strategy game
 Group:          Amusements/Games
 License:        GPLv2
@@ -61,17 +61,17 @@ 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,-)
@@ -83,6 +83,9 @@ fi
 
 
 %changelog
+* Sun Mar 13 2011 Hans de Goede <hdegoede at redhat.com> - 2.6.1-1
+- New upstream release 2.6.1
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.6-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 527901c..412c331 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-519e7eaa78edec61a5a93d987d3b40d7  boswars-2.6-src.tar.gz
+7f0fcf440e8d765c484f09074f993b40  boswars-2.6.1-src.tar.gz


More information about the scm-commits mailing list