From edf75f2b47d5b88074ec813fa2d91c4880e155f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= Date: Tue, 20 Feb 2018 12:52:51 +0100 Subject: [PATCH] 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. --- fprintd.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/fprintd.spec b/fprintd.spec index 59bc92b..977e9d3 100644 --- a/fprintd.spec +++ b/fprintd.spec @@ -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 - 0.8.0-3 ++ fprintd-0.8.0-3 +- Switch from authconfig to authselect + * Wed Feb 07 2018 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild