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.
This commit is contained in:
Kalev Lember 2014-07-22 15:48:22 +02:00
parent 96e2dfd7ff
commit ae06390654

View File

@ -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@gmail.com> - 3.13.4-1
- Update to 3.13.4
- Drop gnome-icon-theme deps
* Tue Jun 24 2014 Richard Hughes <rhughes@redhat.com> - 3.13.3-1
- Update to 3.13.3