From 5109fc1e48af7ede5278ffb04b5b2b35a573e9f0 Mon Sep 17 00:00:00 2001 From: Denis Silakov Date: Wed, 24 Sep 2014 07:29:07 -0400 Subject: [PATCH] Try to disable usb-1.0 explicitly - iscan fails to build with it --- sane.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sane.spec b/sane.spec index d4333ae..d146f2f 100644 --- a/sane.spec +++ b/sane.spec @@ -92,7 +92,7 @@ BuildRequires: libtool-devel BuildRequires: jpeg-devel BuildRequires: tiff-devel BuildRequires: pkgconfig(gtk+-2.0) -BuildRequires: usb-compat-devel +BuildRequires: pkgconfig(libusb) %if %{with gphoto2} BuildRequires: pkgconfig(libgphoto2) %endif @@ -203,11 +203,6 @@ access image acquisition devices available on the local host. %patch203 -p1 -b .udev %patch204 -p1 -b .epson-expression800 -# Patches for non-x86 platforms -%ifarch sparc -%patch9 -p1 -b .sparc -%endif - # "geniusvp2" backend #setup -q -T -D -a 14 -n sane-backends-%{version} @@ -277,6 +272,7 @@ rm -f backend/dll.conf %configure2_5x \ --disable-static \ --enable-rpath=no \ + --disable-libusb_1_0 \ %if !%{with gphoto2} --without-gphoto2 %endif