[sane-backends] Really build against libusb-1.0 on Fedora >= 19 (#1003193)

Hans de Goede jwrdegoede at fedoraproject.org
Wed Sep 4 19:08:04 UTC 2013


commit ef5b39da0fefa64c2696bce165b82104e407ea45
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Wed Sep 4 21:07:53 2013 +0200

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

 sane-backends.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/sane-backends.spec b/sane-backends.spec
index 0928b48..b2e439b 100644
--- a/sane-backends.spec
+++ b/sane-backends.spec
@@ -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 at redhat.com> - 1.0.23-17
+- Really build against libusb-1.0 on Fedora >= 19 (#1003193)
+
 * Wed Sep 04 2013 Nils Philippsen <nils at redhat.com> - 1.0.23-16
 - don't drag around obsoletes forever (#1002141)
 


More information about the scm-commits mailing list