[swell-foop] Update to 3.13.90

Yanko Kaneti yaneti at fedoraproject.org
Tue Aug 19 09:21:16 UTC 2014


commit 62113757cead57f7032eb8330f7dc6ed35d87125
Author: Yanko Kaneti <yaneti at declera.com>
Date:   Tue Aug 19 12:20:59 2014 +0300

    Update to 3.13.90
    
    - Theme snippets rework

 .gitignore      |    1 +
 sources         |    2 +-
 swell-foop.spec |   28 ++++++++++++++++++----------
 3 files changed, 20 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 071ee72..f7a5fae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
 /swell-foop-3.12.0.tar.xz
 /swell-foop-3.12.1.tar.xz
 /swell-foop-3.13.1.tar.xz
+/swell-foop-3.13.90.tar.xz
diff --git a/sources b/sources
index 2b81c13..686977e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-49b5479b708339c5d01d7f71fffc43b2  swell-foop-3.13.1.tar.xz
+7d0360a1bc8b1ca975be53ea3ead0b78  swell-foop-3.13.90.tar.xz
diff --git a/swell-foop.spec b/swell-foop.spec
index ccad140..d617319 100644
--- a/swell-foop.spec
+++ b/swell-foop.spec
@@ -1,6 +1,8 @@
+%global icon_themes    hicolor HighContrast
+
 Name:           swell-foop
-Version:        3.13.1
-Release:        3%{?dist}
+Version:        3.13.90
+Release:        1%{?dist}
 Summary:        GNOME colored tiles puzzle game
 
 License:        GPLv2+ and GFDL
@@ -39,23 +41,25 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 
 
 %post
-touch --no-create %{_datadir}/icons/HighContrast &>/dev/null || :
-touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+for theme in %{icon_themes} ; do
+  touch --no-create %{_datadir}/icons/$theme &>/dev/null || :
+done
 
 
 %postun
 if [ $1 -eq 0 ]; then
-  touch --no-create %{_datadir}/icons/HighContrast &> /dev/null
-  gtk-update-icon-cache %{_datadir}/icons/HighContrast &> /dev/null || :
-  touch --no-create %{_datadir}/icons/hicolor &> /dev/null
-  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+  for theme in %{icon_themes} ; do
+    touch --no-create %{_datadir}/icons/$theme &> /dev/null
+    gtk-update-icon-cache %{_datadir}/icons/$theme &> /dev/null || :
+  done
   glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 fi
 
 
 %posttrans
-gtk-update-icon-cache %{_datadir}/icons/HighContrast &>/dev/null || :
-gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+for theme in %{icon_themes} ; do
+  gtk-update-icon-cache %{_datadir}/icons/$theme &>/dev/null || :
+done
 glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 
 
@@ -71,6 +75,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 
 
 %changelog
+* Tue Aug 19 2014 Yanko Kaneti <yaneti at declera.com> - 3.13.90-1
+- Update to 3.13.90
+- Theme snippets rework
+
 * Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.13.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list