summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeedu/tdeedu.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdeedu/tdeedu.spec')
-rw-r--r--redhat/main/tdeedu/tdeedu.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/main/tdeedu/tdeedu.spec b/redhat/main/tdeedu/tdeedu.spec
index 06f9dd206..367506e6e 100644
--- a/redhat/main/tdeedu/tdeedu.spec
+++ b/redhat/main/tdeedu/tdeedu.spec
@@ -94,8 +94,13 @@ BuildRequires: openssl-devel
BuildRequires: %{_lib}usb1.0-devel
BuildRequires: %{_lib}usb-compat0.1-devel
%else
+%if 0%{?fedora} >= 37
+BuildRequires: libusb1-devel
+BuildRequires: libusb-compat-0.1-devel
+%else
BuildRequires: libusb-devel
%endif
+%endif
# PYTHON3 support
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100 || 0%{?mgaversion} >= 8