From d7abeb74fbbfd5297a50df1982be089be7fc2534 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Mon, 9 Sep 2013 11:43:19 +0200 Subject: [PATCH] require libusbx-devel instead of libusb1-devel which is obsolete --- sane-backends.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sane-backends.spec b/sane-backends.spec index 7b7731e..8e97e40 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -75,7 +75,7 @@ URL: http://www.sane-project.org BuildRequires: %{_bindir}/latex %if %libusb1 -BuildRequires: libusb1-devel +BuildRequires: libusbx-devel %else BuildRequires: libusb-devel %endif @@ -135,7 +135,7 @@ Requires: sane-backends-drivers-scanners%{?_isa} = %{?epoch:%{epoch}:}%{version} Requires: sane-backends-drivers-cameras%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %endif %if %libusb1 -Requires: libusb1-devel +Requires: libusbx-devel %else Requires: libusb-devel %endif @@ -305,6 +305,7 @@ popd %changelog * Mon Sep 09 2013 Nils Philippsen - build against libusb-1.0 on Fedora >= 18 (#1003193) +- require libusbx-devel instead of libusb1-devel which is obsolete * Wed Sep 04 2013 Hans de Goede - 1.0.23-17 - Really build against libusb-1.0 on Fedora >= 19 (#1003193)