From 030f757f9502c02a109e7783cc64292de95128c2 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 22 Sep 2016 15:27:13 +0200 Subject: [PATCH 1/3] Fix warning when uninstalling fprintd-pam (#1203671) --- fprintd.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/fprintd.spec b/fprintd.spec index 28e34d8..5e34282 100644 --- a/fprintd.spec +++ b/fprintd.spec @@ -1,6 +1,6 @@ Name: fprintd Version: 0.6.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: D-Bus service for Fingerprint reader access Group: System Environment/Daemons @@ -29,6 +29,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 Group: System Environment/Base License: GPLv2+ @@ -65,6 +66,9 @@ rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_fprintd.{a,la,so.*} %find_lang %{name} +%postun pam +/sbin/authconfig --disablefingerprint --update + %clean rm -rf $RPM_BUILD_ROOT @@ -94,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml %changelog +* Thu Sep 22 2016 Bastien Nocera - 0.6.0-5 +- Fix warning when uninstalling fprintd-pam (#1203671) + * Wed Feb 03 2016 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 618d25e7545dce2e3208209518dec7dc61032233 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 13 Oct 2016 17:36:23 +0200 Subject: [PATCH 2/3] + fprintd-0.7.0-1 - Update to 0.7.0 --- .gitignore | 1 + fprintd.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0ff392f..389b046 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ fprintd-0.1-04fd09cfa.tar.bz2 /fprintd-0.5.0.tar.bz2 /fprintd-0.5.1.tar.xz /fprintd-0.6.0.tar.xz +/fprintd-0.7.0.tar.xz diff --git a/fprintd.spec b/fprintd.spec index 5e34282..f4ae876 100644 --- a/fprintd.spec +++ b/fprintd.spec @@ -1,6 +1,6 @@ Name: fprintd -Version: 0.6.0 -Release: 5%{?dist} +Version: 0.7.0 +Release: 1%{?dist} Summary: D-Bus service for Fingerprint reader access Group: System Environment/Daemons @@ -98,6 +98,10 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml %changelog +* Wed Oct 12 2016 Bastien Nocera - 0.7.0-1 ++ fprintd-0.7.0-1 +- Update to 0.7.0 + * Thu Sep 22 2016 Bastien Nocera - 0.6.0-5 - Fix warning when uninstalling fprintd-pam (#1203671) diff --git a/sources b/sources index 6f6bc6c..472fcc6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ca61f22513a25020bea7bb96d4322c9d fprintd-0.6.0.tar.xz +b5de08ec833c06f938d9731c21f3f048 fprintd-0.7.0.tar.xz From 5f3753406321c07cf87005837e686c936bf6adbe Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 9 Feb 2017 18:55:30 +0100 Subject: [PATCH 3/3] + fprintd-0.7.0-2 Fix fprintd-pam being disabled after upgrade (#1398371) --- fprintd.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fprintd.spec b/fprintd.spec index f4ae876..25529bc 100644 --- a/fprintd.spec +++ b/fprintd.spec @@ -1,6 +1,6 @@ Name: fprintd Version: 0.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: D-Bus service for Fingerprint reader access Group: System Environment/Daemons @@ -67,7 +67,9 @@ rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_fprintd.{a,la,so.*} %find_lang %{name} %postun pam -/sbin/authconfig --disablefingerprint --update +if [ $1 -eq 0 ]; then + /sbin/authconfig --disablefingerprint --update || : +fi %clean rm -rf $RPM_BUILD_ROOT @@ -98,6 +100,10 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml %changelog +* Thu Feb 09 2017 Bastien Nocera - 0.7.0-2 ++ fprintd-0.7.0-2 +- Fix fprintd-pam being disabled after upgrade (#1398371) + * Wed Oct 12 2016 Bastien Nocera - 0.7.0-1 + fprintd-0.7.0-1 - Update to 0.7.0