rpms/portecle/devel portecle.spec,1.2,1.3
Ville Skyttä
scop at fedoraproject.org
Fri Feb 20 18:21:47 UTC 2009
- Previous message (by thread): rpms/libsynaptics/devel Makefile, 1.1, NONE libsynaptics-0.14.6c-gcc43.patch, 1.1, NONE libsynaptics.spec, 1.9, NONE sources, 1.3, NONE
- Next message (by thread): rpms/rpm/devel rpm-4.6.0-python-validate.patch, NONE, 1.1 rpm.spec, 1.328, 1.329
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: scop
Update of /cvs/pkgs/rpms/portecle/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4466
Modified Files:
portecle.spec
Log Message:
* Fri Feb 20 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.3-4
- Improve icon cache and desktop database refresh scriptlets.
Index: portecle.spec
===================================================================
RCS file: /cvs/pkgs/rpms/portecle/devel/portecle.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- portecle.spec 14 Mar 2008 17:29:27 -0000 1.2
+++ portecle.spec 20 Feb 2009 18:21:17 -0000 1.3
@@ -1,6 +1,6 @@
Name: portecle
Version: 1.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Multipurpose keystore and certificate tool
Group: Applications/System
@@ -56,20 +56,18 @@
%post
-update-desktop-database &> /dev/null
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
-fi
-:
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
-update-desktop-database &> /dev/null
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+if [ $1 -eq 0 ] ; then
+ update-desktop-database %{_datadir}/applications &>/dev/null
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
-:
+
+%posttrans
+update-desktop-database %{_datadir}/applications &>/dev/null
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
@@ -82,6 +80,9 @@
%changelog
+* Fri Feb 20 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.3-4
+- Improve icon cache and desktop database refresh scriptlets.
+
* Fri Mar 14 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.3-3
- Adjust to icedtea->openjdk changes.
- Previous message (by thread): rpms/libsynaptics/devel Makefile, 1.1, NONE libsynaptics-0.14.6c-gcc43.patch, 1.1, NONE libsynaptics.spec, 1.9, NONE sources, 1.3, NONE
- Next message (by thread): rpms/rpm/devel rpm-4.6.0-python-validate.patch, NONE, 1.1 rpm.spec, 1.328, 1.329
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list