Require libusb-compat-0.1-devel rather than libusb-devel where needed

This commit is contained in:
Robert Scheck 2022-07-22 11:51:21 +02:00
parent b7a7f78560
commit aab12ba66b

View File

@ -20,7 +20,11 @@ BuildRequires: meson
BuildRequires: pciutils-devel
BuildRequires: libjaylink-devel
BuildRequires: libftdi-devel
%if 0%{?fedora} >= 37 || 0%{?rhel} > 9
BuildRequires: libusb-compat-0.1-devel
%else
BuildRequires: libusb-devel
%endif
# Used for new programmers (libusb0 will eventually be removed)
BuildRequires: libusbx-devel
BuildRequires: systemd