[libgweather] Drop gnome-icon-theme deps

Kalev Lember kalev at fedoraproject.org
Tue Jul 22 13:50:57 UTC 2014


commit ae063906548cdc534a9e2785cdbe58e6c1360e42
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Tue Jul 22 15:48:22 2014 +0200

    Drop gnome-icon-theme deps
    
    Starting with 3.13.3, libgweather no longer installs icons in the gnome
    icon theme and we can drop the gnome-icon-theme dep and icon cache
    scriptlets.

 libgweather.spec |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/libgweather.spec b/libgweather.spec
index 1661669..e78ba18 100644
--- a/libgweather.spec
+++ b/libgweather.spec
@@ -24,9 +24,6 @@ BuildRequires:  gnome-common
 BuildRequires:  vala-devel
 BuildRequires:  vala-tools
 
-# for directories
-Requires: gnome-icon-theme
-
 %description
 libgweather is a library to access weather information from online
 services for numerous locations.
@@ -57,18 +54,14 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 %post
 /sbin/ldconfig
-touch --no-create %{_datadir}/icons/gnome &>/dev/null || :
 
 %postun
 /sbin/ldconfig
 if [ $1 -eq 0 ]; then
-  touch --no-create %{_datadir}/icons/gnome &>/dev/null
-  gtk-update-icon-cache %{_datadir}/icons/gnome &>/dev/null || :
   glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 fi
 
 %posttrans
-gtk-update-icon-cache -q %{_datadir}/icons/gnome &>/dev/null || :
 glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 
 %files -f %{name}.lang
@@ -100,6 +93,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 %changelog
 * Tue Jul 22 2014 Kalev Lember <kalevlember at gmail.com> - 3.13.4-1
 - Update to 3.13.4
+- Drop gnome-icon-theme deps
 
 * Tue Jun 24 2014 Richard Hughes <rhughes at redhat.com> - 3.13.3-1
 - Update to 3.13.3


More information about the scm-commits mailing list