Drop old trigger scriptlet
1.15.1 was ~2017, so there is no need to support upgrades from such old systemd. This allows the dependency on grep to be dropped. grep pulls in pcre, but most other programs in the core group depend on the newer pcre2, so it's nicer to avoid pulling in pcre in minimal installations.
This commit is contained in:
parent
b998554176
commit
f858c7e550
13
krb5.spec
13
krb5.spec
@ -47,7 +47,7 @@
|
||||
Summary: The Kerberos network authentication system
|
||||
Name: krb5
|
||||
Version: 1.19.2
|
||||
Release: %{?zdpd}5%{?dist}
|
||||
Release: %{?zdpd}6%{?dist}
|
||||
|
||||
# rharwood has trust path to signing key and verifies on check-in
|
||||
Source0: https://web.mit.edu/kerberos/dist/krb5/%{version}/krb5-%{version}%{?dashpre}.tar.gz
|
||||
@ -158,7 +158,7 @@ to install this package.
|
||||
%package libs
|
||||
Summary: The non-admin shared libraries used by Kerberos 5
|
||||
Requires: openssl-libs >= 1:3.0.0
|
||||
Requires: coreutils, gawk, grep, sed
|
||||
Requires: coreutils, gawk, sed
|
||||
Requires: keyutils-libs >= 1.5.8
|
||||
Requires: /etc/crypto-policies/back-ends/krb5.config
|
||||
|
||||
@ -465,12 +465,6 @@ rm -- "$RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/preauth/test.so"
|
||||
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%triggerun libs -- krb5-libs < 1.15.1-5
|
||||
if ! grep -q 'includedir /etc/krb5.conf.d' /etc/krb5.conf ; then
|
||||
sed -i '1i # To opt out of the system crypto-policies configuration of krb5, remove the\n# symlink at /etc/krb5.conf.d/crypto-policies which will not be recreated.\nincludedir /etc/krb5.conf.d/\n' /etc/krb5.conf
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%ldconfig_scriptlets server-ldap
|
||||
|
||||
%post server
|
||||
@ -653,6 +647,9 @@ exit 0
|
||||
%{_libdir}/libkadm5srv_mit.so.*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 8 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.19.2-6
|
||||
- Drop old trigger scriplet
|
||||
|
||||
* Wed Feb 02 2022 Alexander Bokovoy <abokovoy@redhat.com> - 1.19.2-5
|
||||
- Temporarily remove package note to unblock krb5-dependent packages
|
||||
- Resolves: rhbz#2048909
|
||||
|
Loading…
Reference in New Issue
Block a user