diff --git a/pam.spec b/pam.spec index bf1880d..2978e7a 100644 --- a/pam.spec +++ b/pam.spec @@ -345,21 +345,6 @@ done %files doc %doc %{_pkgdocdir} -%posttrans - -# For people upgrading from older Fedora versions, authselect might not be -# enabled or unable to do anything due to e.g. a modified nsswitch.conf. -# The following snippets apply important fixes in those cases. - -# Change pam_fprintd.so in fingerprint-auth from sufficient to [success=done default=bad] -# in order for PAM_AUTHINFO_UNAVAIL error codes to be propagated. -FILE="$(readlink -f %{_sysconfdir}/pam.d/fingerprint-auth || echo %{_sysconfdir}/pam.d/fingerprint-auth)" -test "$FILE" != %{_sysconfdir}/authselect/fingerprint-auth && \ - %__grep -q '^auth[[:space:]]\+sufficient[[:space:]]\+pam_fprintd.so' $FILE && \ - %__sed -i.bak -e 's/^auth[[:space:]]\+sufficient[[:space:]]\+pam_fprintd.so\(.*\)/auth [success=done default=bad] pam_fprintd.so\1/g' $FILE - -exit 0 - %changelog * Tue Nov 16 2021 Pavel Březina - 1.5.2-8 - systemd-auth, smartcard-auth, fingerprint-auth, password-auth and postlogin are now owned by authselect (#2023738)