[perl-PAR-Packer] Poke icon cache
Petr Pisar
ppisar at fedoraproject.org
Tue Dec 6 10:18:31 UTC 2011
commit 732f3f20607882f269ca2e9c3e34d4f41af0836f
Author: Petr Písař <ppisar at redhat.com>
Date: Tue Dec 6 11:17:33 2011 +0100
Poke icon cache
perl-PAR-Packer.spec | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/perl-PAR-Packer.spec b/perl-PAR-Packer.spec
index 112659b..14beef8 100644
--- a/perl-PAR-Packer.spec
+++ b/perl-PAR-Packer.spec
@@ -1,6 +1,6 @@
Name: perl-PAR-Packer
Version: 1.012
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: PAR Packager
License: GPL+ or Artistic
Group: Development/Libraries
@@ -82,6 +82,19 @@ desktop-file-install \
%check
make test
+# Sctipts needed for icon cache management
+%post Tk
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun Tk
+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 Tk
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
%files
%doc AUTHORS ChangeLog README TODO
@@ -102,6 +115,9 @@ make test
%changelog
+* Tue Dec 06 2011 Petr Pisar <ppisar at redhat.com> - 1.012-2
+- Poke icon cache
+
* Mon Dec 05 2011 Petr Pisar <ppisar at redhat.com> - 1.012-1
- 1.012 bump
More information about the scm-commits
mailing list