summaryrefslogtreecommitdiffstats
path: root/redhat/applications/piklab/piklab.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/piklab/piklab.spec')
-rw-r--r--redhat/applications/piklab/piklab.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/redhat/applications/piklab/piklab.spec b/redhat/applications/piklab/piklab.spec
index ff8d574d2..ddc1c3123 100644
--- a/redhat/applications/piklab/piklab.spec
+++ b/redhat/applications/piklab/piklab.spec
@@ -84,7 +84,12 @@ BuildRequires: readline-devel
BuildRequires: %{_lib}usb1.0-devel
BuildRequires: %{_lib}usb-compat0.1-devel
%else
-BuildRequires: libusb-devel
+%if 0%{?fedora} >= 37
+BuildRequires: libusb1-devel
+BuildRequires: libusb-compat-0.1-devel
+%else
+BuildRequires: libusb-devel
+%endif
%endif