[gnome-weather] Include HighContrast icons

Kalev Lember kalev at fedoraproject.org
Mon Sep 1 21:57:15 UTC 2014


commit 1087637fe1bdd4a7f2c79d7cd436a488b62486d9
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Mon Sep 1 22:42:06 2014 +0200

    Include HighContrast icons

 gnome-weather.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gnome-weather.spec b/gnome-weather.spec
index 4d6c44e..9616031 100644
--- a/gnome-weather.spec
+++ b/gnome-weather.spec
@@ -37,17 +37,21 @@ desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/org.gnome.Weather
 
 %post
 touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+touch --no-create %{_datadir}/icons/HighContrast &>/dev/null || :
 
 %postun
 if [ $1 -eq 0 ] ; then
     glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
     touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    touch --no-create %{_datadir}/icons/HighContrast &>/dev/null
     gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+    gtk-update-icon-cache %{_datadir}/icons/HighContrast &>/dev/null || :
 fi
 
 %posttrans
 glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+gtk-update-icon-cache %{_datadir}/icons/HighContrast &>/dev/null || :
 
 %files -f org.gnome.Weather.lang
 %doc NEWS data/CREDITS
@@ -61,11 +65,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %dir %{_datadir}/gnome-shell/search-providers/
 %{_datadir}/gnome-shell/search-providers/org.gnome.Weather.Application.search-provider.ini
 %{_datadir}/icons/hicolor/*/apps/org.gnome.Weather.Application.png
+%{_datadir}/icons/HighContrast/*/apps/org.gnome.Weather.Application.png
 %{_datadir}/org.gnome.Weather/
 
 %changelog
 * Mon Sep 01 2014 Kalev Lember <kalevlember at gmail.com> - 3.13.91-1
 - Update to 3.13.91
+- Include HighContrast icons
 
 * Tue Aug 19 2014 Kalev Lember <kalevlember at gmail.com> - 3.13.90-1
 - Update to 3.13.90


More information about the scm-commits mailing list