Fix ELN build

ELN (to become RHEL 10) also has libgusb 0.4.5 and therefore the
device-tests are installed.
This commit is contained in:
Yaakov Selkowitz 2023-07-07 13:07:18 -04:00
parent f9923ebc01
commit a1c2ced1e7

View File

@ -381,7 +381,8 @@ done
%endif
%{_datadir}/installed-tests/fwupd/chassis_type
%{_datadir}/installed-tests/fwupd/sys_vendor
%if 0%{?fedora} >= 37
# libgusb >= 0.4.5
%if 0%{?fedora} >= 37 || 0%{?rhel} >= 10
%{_datadir}/fwupd/device-tests/*.json
%endif
%{_libexecdir}/installed-tests/fwupd/*