[colorhug-client/f17] New upstream version.

Richard Hughes rhughes at fedoraproject.org
Sun Mar 4 22:04:10 UTC 2012


commit dfcdf2d9536f7172eb049df81cbfbb038dbf5619
Author: Richard Hughes <richard at hughsie.com>
Date:   Sun Mar 4 21:55:57 2012 +0000

    New upstream version.

 .gitignore           |    1 +
 colorhug-client.spec |   19 +++++++++++++++++--
 sources              |    2 +-
 3 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 01cac72..b975424 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /colorhug-client-0.1.3.tar.xz
 /colorhug-client-0.1.4.tar.xz
 /colorhug-client-0.1.5.tar.xz
+/colorhug-client-0.1.6.tar.xz
diff --git a/colorhug-client.spec b/colorhug-client.spec
index eeea4f4..4ae82db 100644
--- a/colorhug-client.spec
+++ b/colorhug-client.spec
@@ -1,6 +1,6 @@
 Summary:   Tools for the Hughski Colorimeter
 Name:      colorhug-client
-Version:   0.1.5
+Version:   0.1.6
 Release:   1%{?dist}
 License:   GPLv2+
 URL:       http://www.hughski.com/
@@ -38,6 +38,18 @@ make install DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name}
 
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc README AUTHORS NEWS COPYING
@@ -46,13 +58,16 @@ make install DESTDIR=$RPM_BUILD_ROOT
 %{_libexecdir}/colorhug*
 %{_bindir}/colorhug*
 %{_datadir}/applications/*.desktop
-%{_datadir}/icons/hicolor/*/apps/colorhug.png
+%{_datadir}/icons/hicolor/*/apps/*colorhug*.png
 %{_datadir}/icons/hicolor/*/mimetypes/application-x-ccmx.*
 %{_datadir}/icons/hicolor/scalable/apps/colorhug.svg
 %{_mandir}/man1/*.1.gz
 %{_sysconfdir}/bash_completion.d/*-completion.bash
 
 %changelog
+* Sun Mar 04 2012 Richard Hughes <richard at hughsie.com> 0.1.6-1
+- New upstream version.
+
 * Thu Jan 26 2012 Richard Hughes <richard at hughsie.com> 0.1.5-1
 - New upstream version.
 
diff --git a/sources b/sources
index 23c1005..5e7def4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9f648cb55c498cdb04008e376586a858  colorhug-client-0.1.5.tar.xz
+6a07023ede323ee52231e69e40c70174  colorhug-client-0.1.6.tar.xz


More information about the scm-commits mailing list