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

This commit is contained in:
Nils Philippsen 2013-09-09 11:42:10 +02:00
parent ef5b39da0f
commit bfa5a61d4c

View File

@ -15,7 +15,7 @@
%global udevrulesdir /lib/udev/rules.d
%endif
%if !0%{?fedora}%{?rhel} || 0%{?fedora} >= 19 || 0%{?rhel} >= 7
%if !0%{?fedora}%{?rhel} || 0%{?fedora} >= 18 || 0%{?rhel} >= 7
%global libusb1 1
%else
%global libusb1 0
@ -303,6 +303,9 @@ popd
%{_libdir}/sane/*gphoto2.so*
%changelog
* Mon Sep 09 2013 Nils Philippsen <nils@redhat.com>
- build against libusb-1.0 on Fedora >= 18 (#1003193)
* Wed Sep 04 2013 Hans de Goede <hdegoede@redhat.com> - 1.0.23-17
- Really build against libusb-1.0 on Fedora >= 19 (#1003193)