Really build against libusb-1.0 on Fedora >= 19 (#1003193)

This commit is contained in:
Hans de Goede 2013-09-04 21:07:53 +02:00
parent 9d0e2a3030
commit ef5b39da0f

View File

@ -35,7 +35,7 @@
Summary: Scanner access software
Name: sane-backends
Version: 1.0.23
Release: 16%{?dist}
Release: 17%{?dist}
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
# Tools are GPLv2+, docs are public domain
# see LICENSE for details
@ -206,6 +206,9 @@ LDFLAGS="-pie"
--with-gphoto2=%{_prefix} \
--with-docdir=%{_maindocdir} \
--disable-locking --disable-rpath \
%if %libusb1
--enable-libusb_1_0 \
%endif
--enable-pthread
make %{?_smp_mflags}
@ -300,6 +303,9 @@ popd
%{_libdir}/sane/*gphoto2.so*
%changelog
* Wed Sep 04 2013 Hans de Goede <hdegoede@redhat.com> - 1.0.23-17
- Really build against libusb-1.0 on Fedora >= 19 (#1003193)
* Wed Sep 04 2013 Nils Philippsen <nils@redhat.com> - 1.0.23-16
- don't drag around obsoletes forever (#1002141)