[NetworkManager-openconnect] Remove unnecessary ldconfig calls from scriptlets (#737330).

Ville Skyttä scop at fedoraproject.org
Wed Jun 13 21:53:47 UTC 2012


commit d7a58df9923349370053dc354ba54a03eb1c9fe8
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Jun 14 00:53:40 2012 +0300

    Remove unnecessary ldconfig calls from scriptlets (#737330).

 NetworkManager-openconnect.spec |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/NetworkManager-openconnect.spec b/NetworkManager-openconnect.spec
index f580b0e..4ac0919 100644
--- a/NetworkManager-openconnect.spec
+++ b/NetworkManager-openconnect.spec
@@ -9,7 +9,7 @@
 Summary:   NetworkManager VPN integration for openconnect
 Name:      NetworkManager-openconnect
 Version:   0.9.4.0
-Release:   3%{snapshot}%{?dist}
+Release:   4%{snapshot}%{?dist}
 License:   GPLv2+, LGPLv2.1
 Group:     System Environment/Base
 URL:       http://www.gnome.org/projects/NetworkManager/
@@ -42,8 +42,6 @@ BuildRequires: openconnect-devel
 Requires: NetworkManager   >= %{nm_version}
 Requires: openconnect      >= %{openconnect_version}
 
-Requires(post):   /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
 Requires(pre): %{_sbindir}/useradd
 Requires(pre): %{_sbindir}/groupadd
 
@@ -82,7 +80,6 @@ rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.a
                      -g nm-openconnect nm-openconnect &>/dev/null || :
 
 %post
-/sbin/ldconfig
 /usr/bin/update-desktop-database &> /dev/null || :
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
@@ -91,7 +88,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
@@ -113,6 +109,9 @@ fi
 %{_datadir}/gnome-vpn-properties/openconnect/nm-openconnect-dialog.ui
 
 %changelog
+* Wed Jun 13 2012 Ville Skyttä <ville.skytta at iki.fi> - 0.9.4.0-4
+- Remove unnecessary ldconfig calls from scriptlets (#737330).
+
 * Fri May 25 2012 David Woodhouse <David.Woodhouse at intel.com> - 0.9.4-3
 - Fix cancel-after-failure-causes-next-attempt-to-immediately-abort bug.
 


More information about the scm-commits mailing list