require libusbx-devel instead of libusb1-devel which is obsolete

This commit is contained in:
Nils Philippsen 2013-09-09 11:43:19 +02:00
parent bfa5a61d4c
commit d7abeb74fb

View File

@ -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 <nils@redhat.com>
- 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 <hdegoede@redhat.com> - 1.0.23-17
- Really build against libusb-1.0 on Fedora >= 19 (#1003193)