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