Switch from authconfig to authselect

Fedora 28 is switching from authconfig to authselect by default:
https://fedoraproject.org/wiki/Changes/AuthselectAsDefault

If fprintd-pam is uninstalled it will now call authselect instead
of authconfig. For existing systems that are not yet configured
with authselect this will be a no operation.
This commit is contained in:
Pavel Březina 2018-02-20 12:52:51 +01:00 committed by Bastien Nocera
parent d8dfc7b63e
commit edf75f2b47

View File

@ -1,6 +1,6 @@
Name: fprintd
Version: 0.8.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: D-Bus service for Fingerprint reader access
Group: System Environment/Daemons
@ -28,7 +28,7 @@ Requires: %{name} = %{version}-%{release}
# is different, it will be mentioned in the release notes
Provides: pam_fprint = %{version}-%{release}
Obsoletes: pam_fprint < 0.2-3
Requires(postun): authconfig
Requires(postun): authselect >= 0.3
Group: System Environment/Base
License: GPLv2+
@ -67,7 +67,7 @@ rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_fprintd.{a,la,so.*}
%postun pam
if [ $1 -eq 0 ]; then
/sbin/authconfig --disablefingerprint --update || :
/bin/authselect disable-feature with-fingerprint || :
fi
%files -f %{name}.lang
@ -96,6 +96,10 @@ fi
%{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml
%changelog
* Tue Feb 20 2018 Pavel Březina <pbrezina@redhat.com> - 0.8.0-3
+ fprintd-0.8.0-3
- Switch from authconfig to authselect
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild