[NetworkManager-pptp] Remove unnecessary ldconfig calls from scriptlets (#737333).

Ville Skyttä scop at fedoraproject.org
Wed Jun 13 22:00:12 UTC 2012


commit 56903ec2c32e4eeadbf2fb81c44cfef65e954704
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Jun 14 01:00:06 2012 +0300

    Remove unnecessary ldconfig calls from scriptlets (#737333).

 NetworkManager-pptp.spec |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/NetworkManager-pptp.spec b/NetworkManager-pptp.spec
index f2e3b39..c000a12 100644
--- a/NetworkManager-pptp.spec
+++ b/NetworkManager-pptp.spec
@@ -11,7 +11,7 @@ Summary:   NetworkManager VPN plugin for pptp
 Name:      NetworkManager-pptp
 Epoch:     1
 Version:   0.9.3.997
-Release:   1%{snapshot}%{?dist}
+Release:   2%{snapshot}%{?dist}
 License:   GPLv2+
 Group:     System Environment/Base
 URL:       http://www.gnome.org/projects/NetworkManager/
@@ -36,8 +36,8 @@ Requires: ppp              = %{ppp_version}
 Requires: shared-mime-info >= %{shared_mime_version}
 Requires: pptp
 Requires: gnome-keyring
-Requires(post):   /sbin/ldconfig desktop-file-utils
-Requires(postun): /sbin/ldconfig desktop-file-utils
+Requires(post):   desktop-file-utils
+Requires(postun): desktop-file-utils
 
 
 %description
@@ -70,7 +70,6 @@ rm -f %{buildroot}%{_libdir}/pppd/2.*/nm-pptp-pppd-plugin.a
 
 
 %post
-/sbin/ldconfig
 /usr/bin/update-desktop-database &> /dev/null || :
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
@@ -79,7 +78,6 @@ fi
 
 
 %postun
-/sbin/ldconfig
 /usr/bin/update-desktop-database &> /dev/null || :
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
@@ -103,6 +101,9 @@ fi
 %{_datadir}/gnome-vpn-properties/pptp/nm-pptp-dialog.ui
 
 %changelog
+* Wed Jun 13 2012 Ville Skyttä <ville.skytta at iki.fi> - 1:0.9.3.997-2
+- Remove unnecessary ldconfig calls from scriptlets (#737333).
+
 * Mon Mar 19 2012 Dan Williams <dcbw at redhat.com> - 1:0.9.3.997-1
 - Update to 0.9.3.997 (0.9.4-rc1)
 


More information about the scm-commits mailing list