Remove ldconfig calls where possible
This commit is contained in:
parent
da51426156
commit
358a6cb08d
22
bind.spec
22
bind.spec
@ -28,7 +28,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
|
||||
Name: bind
|
||||
License: MPLv2.0
|
||||
Version: 9.11.2
|
||||
Release: 5%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
|
||||
Release: 6%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
|
||||
Epoch: 32
|
||||
Url: http://www.isc.org/products/BIND/
|
||||
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -754,7 +754,7 @@ fi;
|
||||
:;
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%?ldconfig
|
||||
%systemd_post named.service
|
||||
if [ "$1" -eq 1 ]; then
|
||||
# Initial installation
|
||||
@ -770,7 +770,7 @@ fi
|
||||
%systemd_preun named.service
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%?ldconfig
|
||||
# Package upgrade, not uninstall
|
||||
%systemd_postun_with_restart named.service
|
||||
|
||||
@ -813,18 +813,11 @@ fi
|
||||
/sbin/chkconfig --del named >/dev/null 2>&1 || :
|
||||
/bin/systemctl try-restart named.service >/dev/null 2>&1 || :
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%post libs-lite -p /sbin/ldconfig
|
||||
|
||||
%postun libs-lite -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets libs
|
||||
%ldconfig_scriptlets libs-lite
|
||||
|
||||
%if %{PKCS11}
|
||||
%post pkcs11-libs -p /sbin/ldconfig
|
||||
|
||||
%postun pkcs11-libs -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets pkcs11-libs
|
||||
%endif
|
||||
|
||||
%post chroot
|
||||
@ -1198,6 +1191,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{python3_sitelib}/isc/
|
||||
|
||||
%changelog
|
||||
* Tue Jan 30 2018 Petr Menšík <pemensik@redhat.com> - 32:9.11.2-6.P1
|
||||
- Remove ldconfig calls where possible
|
||||
|
||||
* Tue Jan 16 2018 Petr Menšík <pemensik@redhat.com> - 32:9.11.2-5.P1
|
||||
- Fix CVE-2017-3145, rebase to 9.11.2-P1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user