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
|
Name: bind
|
||||||
License: MPLv2.0
|
License: MPLv2.0
|
||||||
Version: 9.11.2
|
Version: 9.11.2
|
||||||
Release: 5%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
|
Release: 6%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
|
||||||
Epoch: 32
|
Epoch: 32
|
||||||
Url: http://www.isc.org/products/BIND/
|
Url: http://www.isc.org/products/BIND/
|
||||||
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -754,7 +754,7 @@ fi;
|
|||||||
:;
|
:;
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
%?ldconfig
|
||||||
%systemd_post named.service
|
%systemd_post named.service
|
||||||
if [ "$1" -eq 1 ]; then
|
if [ "$1" -eq 1 ]; then
|
||||||
# Initial installation
|
# Initial installation
|
||||||
@ -770,7 +770,7 @@ fi
|
|||||||
%systemd_preun named.service
|
%systemd_preun named.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
%?ldconfig
|
||||||
# Package upgrade, not uninstall
|
# Package upgrade, not uninstall
|
||||||
%systemd_postun_with_restart named.service
|
%systemd_postun_with_restart named.service
|
||||||
|
|
||||||
@ -813,18 +813,11 @@ fi
|
|||||||
/sbin/chkconfig --del named >/dev/null 2>&1 || :
|
/sbin/chkconfig --del named >/dev/null 2>&1 || :
|
||||||
/bin/systemctl try-restart named.service >/dev/null 2>&1 || :
|
/bin/systemctl try-restart named.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%ldconfig_scriptlets libs
|
||||||
|
%ldconfig_scriptlets libs-lite
|
||||||
%postun libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post libs-lite -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun libs-lite -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%if %{PKCS11}
|
%if %{PKCS11}
|
||||||
%post pkcs11-libs -p /sbin/ldconfig
|
%ldconfig_scriptlets pkcs11-libs
|
||||||
|
|
||||||
%postun pkcs11-libs -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post chroot
|
%post chroot
|
||||||
@ -1198,6 +1191,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{python3_sitelib}/isc/
|
%{python3_sitelib}/isc/
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Fix CVE-2017-3145, rebase to 9.11.2-P1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user