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
This commit is contained in:
parent
2824e4c3e3
commit
d55993e682
28
0001-udev-rules-add-TEST-power-control.patch
Normal file
28
0001-udev-rules-add-TEST-power-control.patch
Normal file
@ -0,0 +1,28 @@
|
||||
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
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: libfprint
|
||||
Version: 0.5.1
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Toolkit for fingerprint scanner
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -10,6 +10,9 @@ 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
|
||||
|
||||
@ -31,8 +34,10 @@ developing applications that use %{name}.
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch1 -p1 -b .0001
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%configure --disable-silent-rules --disable-static
|
||||
make %{?_smp_mflags}
|
||||
pushd doc
|
||||
make docs
|
||||
@ -66,6 +71,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user