[nss-softokn] Avoid %post/un shell invocations and dependencies.
Ville Skyttä
scop at fedoraproject.org
Fri Sep 9 05:16:23 UTC 2011
commit 330ea544db343b6720fde4030a4df18013e0b80f
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Thu Sep 8 23:56:32 2011 +0300
Avoid %post/un shell invocations and dependencies.
nss-softokn.spec | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/nss-softokn.spec b/nss-softokn.spec
index f2d74a2..e008154 100644
--- a/nss-softokn.spec
+++ b/nss-softokn.spec
@@ -17,7 +17,7 @@
Summary: Network Security Services Softoken Module
Name: nss-softokn
Version: 3.12.11
-Release: 2%{?dist}
+Release: 3%{?dist}
License: MPLv1.1 or GPLv2+ or LGPLv2+
URL: http://www.mozilla.org/projects/security/pki/nss/
Group: System Environment/Libraries
@@ -316,11 +316,9 @@ done
%{__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)
@@ -373,6 +371,9 @@ done
%{_includedir}/nss3/shsign.h
%changelog
+* Thu Sep 8 2011 Ville Skyttä <ville.skytta at iki.fi> - 3.12.11-3
+- Avoid %%post/un shell invocations and dependencies.
+
* Wed Aug 17 2011 Elio Maldonado <emaldona at redhat.com> - 3.12.11-2
- rebuilt as recommended to deal with an rpm issue
More information about the scm-commits
mailing list