[nss-util] Avoid %post/un shell invocations and dependencies.
Ville Skyttä
scop at fedoraproject.org
Fri Sep 9 05:09:31 UTC 2011
commit 14f6e2c1a10f2f08b76ba7eccb31714cc389a7f3
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Thu Sep 8 23:52:54 2011 +0300
Avoid %post/un shell invocations and dependencies.
nss-util.spec | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/nss-util.spec b/nss-util.spec
index ebe1ceb..8bcf2fa 100644
--- a/nss-util.spec
+++ b/nss-util.spec
@@ -3,7 +3,7 @@
Summary: Network Security Services Utilities Library
Name: nss-util
Version: 3.12.11
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MPLv1.1 or GPLv2+ or LGPLv2+
URL: http://www.mozilla.org/projects/security/pki/nss/
Group: System Environment/Libraries
@@ -152,11 +152,9 @@ done
%clean
%{__rm} -rf $RPM_BUILD_ROOT
-%post
-/sbin/ldconfig >/dev/null 2>/dev/null
+%post -p /sbin/ldconfig
-%postun
-/sbin/ldconfig >/dev/null 2>/dev/null
+%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
@@ -204,6 +202,9 @@ done
%{_includedir}/nss3/utilrename.h
%changelog
+* Thu Sep 8 2011 Ville Skyttä <ville.skytta at iki.fi> - 3.12.11-2
+- Avoid %%post/un shell invocations and dependencies.
+
* Tue Aug 09 2011 Elio Maldonado <emaldona at redhat.com> - 3.12.11-1
- Update to NSS_3_12_11_RTM
More information about the scm-commits
mailing list