summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeedu
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2022-11-06 11:46:08 +0100
committerFrançois Andriot <[email protected]>2022-11-06 16:15:02 +0100
commitb504f7ef7837e88d471f3601da710a92d58108a0 (patch)
tree2874f5894582ac03efd73e22d0a374cc97d33cac /redhat/main/tdeedu
parent91c340e19d9a2c81194e7adb5900c8f69bbd7735 (diff)
downloadtde-packaging-b504f7ef7837e88d471f3601da710a92d58108a0.tar.gz
tde-packaging-b504f7ef7837e88d471f3601da710a92d58108a0.zip
RPM: updates (cherry-pick from TDE R14.0.13)
Signed-off-by: François Andriot <[email protected]>
Diffstat (limited to 'redhat/main/tdeedu')
-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