[bind] Avoid shell invocation and dep for -libs-lite %postun.

Ville Skyttä scop at fedoraproject.org
Wed Jul 11 20:21:35 UTC 2012


commit 44476833c87e15060f8e8d9ede8073f80432c2d8
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Wed Jul 11 23:21:03 2012 +0300

    Avoid shell invocation and dep for -libs-lite %postun.

 bind.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/bind.spec b/bind.spec
index 56f3ea0..6c479a1 100644
--- a/bind.spec
+++ b/bind.spec
@@ -22,7 +22,7 @@ Summary:  The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
 Name:     bind
 License:  ISC
 Version:  9.9.1
-Release:  2.%{PATCHVER}%{?dist}
+Release:  3.%{PATCHVER}%{?dist}
 Epoch:    32
 Url:      http://www.isc.org/products/BIND/
 Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -552,8 +552,7 @@ fi
 
 %post libs-lite -p /sbin/ldconfig
 
-%postun libs-lite
-/sbin/ldconfig
+%postun libs-lite -p /sbin/ldconfig
 
 %post chroot
 if [ "$1" -gt 0 ]; then
@@ -772,6 +771,9 @@ rm -rf ${RPM_BUILD_ROOT}
 %endif
 
 %changelog
+* Wed Jul 11 2012 Ville Skyttä <ville.skytta at iki.fi> - 32:9.9.1-3.P1
+- Avoid shell invocation and dep for -libs-lite %%postun.
+
 * Mon Jun 04 2012 Adam Tkac <atkac redhat com> 32:9.9.1-2.P1
 - update to 9.9.1-P1 (CVE-2012-1667)
 


More information about the scm-commits mailing list