From 8d836accf6e698a514205b5d5e4ea11c9f525aa7 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 03 2016 06:01:53 +0000 Subject: import libfprint-0.5.0-4.el7 --- diff --git a/SOURCES/0001-Work-around-kernel-s-lack-of-USB-PM.patch b/SOURCES/0001-Work-around-kernel-s-lack-of-USB-PM.patch new file mode 100644 index 0000000..c3a4d75 --- /dev/null +++ b/SOURCES/0001-Work-around-kernel-s-lack-of-USB-PM.patch @@ -0,0 +1,25 @@ +From 81e01ae162201b192bf6780a0b339917899fe4dd Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Tue, 12 Apr 2016 16:10:53 +0200 +Subject: [PATCH] Work-around kernel's lack of USB PM + +https://bugzilla.redhat.com/show_bug.cgi?id=1173367 +--- + libfprint/fprint-list-udev-rules.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libfprint/fprint-list-udev-rules.c b/libfprint/fprint-list-udev-rules.c +index 791a457..f35e90c 100644 +--- a/libfprint/fprint-list-udev-rules.c ++++ b/libfprint/fprint-list-udev-rules.c +@@ -25,6 +25,7 @@ + + static const struct usb_id whitelist_id_table[] = { + { .vendor = 0x08ff, .product = 0x2810 }, ++ { .vendor = 0x138a, .product = 0x0017 }, + { 0, 0, 0, }, + }; + +-- +2.7.3 + diff --git a/SPECS/libfprint.spec b/SPECS/libfprint.spec index cfe6a74..4eced04 100644 --- a/SPECS/libfprint.spec +++ b/SPECS/libfprint.spec @@ -1,6 +1,6 @@ Name: libfprint Version: 0.5.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Toolkit for fingerprint scanner Group: System Environment/Libraries @@ -13,6 +13,9 @@ ExcludeArch: s390 s390x BuildRequires: libusb1-devel glib2-devel gtk2-devel nss-devel BuildRequires: doxygen autoconf automake libtool +# https://bugzilla.redhat.com/show_bug.cgi?id=1173367 +Patch0: 0001-Work-around-kernel-s-lack-of-USB-PM.patch + %description libfprint offers support for consumer fingerprint reader devices. @@ -30,6 +33,7 @@ developing applications that use %{name}. %prep %setup -q +%patch0 -p1 -b .pm %build %configure --disable-static @@ -66,6 +70,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/%{name}.pc %changelog +* Tue Apr 12 2016 Bastien Nocera - 0.5.0-4 +- Work-around the lack of USB PM in the kernel +Resolves: #1173367 + * Fri Dec 27 2013 Daniel Mach - 0.5.0-3 - Mass rebuild 2013-12-27