Update to 0.6.0

This commit is contained in:
Bastien Nocera 2015-02-03 17:50:22 +01:00
parent d55993e682
commit 52f70f7761
4 changed files with 7 additions and 36 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ libfprint-0.3.0.tar.bz2
/libfprint-0.4.0.tar.bz2
/libfprint-0.5.0.tar.xz
/libfprint-0.5.1.tar.xz
/libfprint-0.6.0.tar.xz

View File

@ -1,28 +0,0 @@
From 4fa98996423059da7512015cb41e979a36751755 Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter@math.unl.edu>
Date: Wed, 17 Dec 2014 07:27:15 -0600
Subject: [PATCH] udev rules add TEST=="power/control"...
before trying to set ATTR{power/control}. See also:
https://bugzilla.redhat.com/show_bug.cgi?id=950205
---
libfprint/fprint-list-udev-rules.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libfprint/fprint-list-udev-rules.c b/libfprint/fprint-list-udev-rules.c
index 71c0b59..4b18f5a 100644
--- a/libfprint/fprint-list-udev-rules.c
+++ b/libfprint/fprint-list-udev-rules.c
@@ -74,7 +74,7 @@ static void print_driver (struct fp_driver *driver)
if (num_printed == 0)
printf ("# %s\n", driver->full_name);
- printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", ATTR{power/control}=\"auto\"\n", driver->id_table[i].vendor, driver->id_table[i].product);
+ printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", TEST==\"power/control\", ATTR{power/control}=\"auto\"\n", driver->id_table[i].vendor, driver->id_table[i].product);
num_printed++;
}
--
1.9.3

View File

@ -1,6 +1,6 @@
Name: libfprint
Version: 0.5.1
Release: 5%{?dist}
Version: 0.6.0
Release: 1%{?dist}
Summary: Toolkit for fingerprint scanner
Group: System Environment/Libraries
@ -10,9 +10,6 @@ Source0: http://freedesktop.org/~hadess/%{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: s390 s390x
# https://bugzilla.redhat.com/show_bug.cgi?id=950205
Patch1: 0001-udev-rules-add-TEST-power-control.patch
BuildRequires: libusb1-devel glib2-devel gtk2-devel nss-devel
BuildRequires: doxygen autoconf automake libtool
@ -34,8 +31,6 @@ developing applications that use %{name}.
%prep
%setup -q
%patch1 -p1 -b .0001
%build
%configure --disable-silent-rules --disable-static
make %{?_smp_mflags}
@ -71,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Tue Feb 03 2015 Bastien Nocera <bnocera@redhat.com> 0.6.0-1
- Update to 0.6.0
* Wed Dec 17 2014 Rex Dieter <rdieter@fedoraproject.org> - 0.5.1-5
- error opening ATTR{/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/power/control} for writing (#950205)
- %%build: --disable-silent-rules

View File

@ -1 +1 @@
f52ac662d89fb82a441dacb0bac36c13 libfprint-0.5.1.tar.xz
1e66f6e786348b46075368cc682450a8 libfprint-0.6.0.tar.xz