[gnome-pilot] Avoid unnecessary shell invocation in %postun.

Ville Skyttä scop at fedoraproject.org
Thu Sep 8 20:50:24 UTC 2011


commit c9832f74365d08796a4abed62a6ec2ab8e90a125
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Sep 8 22:14:12 2011 +0300

    Avoid unnecessary shell invocation in %postun.

 gnome-pilot.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gnome-pilot.spec b/gnome-pilot.spec
index d450d83..aaf8055 100644
--- a/gnome-pilot.spec
+++ b/gnome-pilot.spec
@@ -5,7 +5,7 @@
 
 Name: gnome-pilot
 Version: 2.91.92
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPLv2+ and GPLv2+
 Group: Applications/Communications
 Summary: GNOME pilot programs
@@ -130,8 +130,7 @@ rm -f $RPM_BUILD_ROOT/%{_datadir}/applications/gpilot-applet.desktop
 %preun
 %gconf_schema_remove pilot
 
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(-,root,root,-)
@@ -182,6 +181,9 @@ rm -f $RPM_BUILD_ROOT/%{_datadir}/applications/gpilot-applet.desktop
 %endif
 
 %changelog
+* Thu Sep  8 2011 Ville Skyttä <ville.skytta at iki.fi> - 2.91.92-3
+- Avoid unnecessary shell invocation in %%postun.
+
 * Tue Aug 30 2011 Milan Crha <mcrha at redhat.com> - 2.91.92-2
 - Rebuild against newer evolution-data-server
 - Remove hal-devel from BuildRequires


More information about the scm-commits mailing list