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:
parent
f9923ebc01
commit
a1c2ced1e7
@ -381,7 +381,8 @@ done
|
|||||||
%endif
|
%endif
|
||||||
%{_datadir}/installed-tests/fwupd/chassis_type
|
%{_datadir}/installed-tests/fwupd/chassis_type
|
||||||
%{_datadir}/installed-tests/fwupd/sys_vendor
|
%{_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
|
%{_datadir}/fwupd/device-tests/*.json
|
||||||
%endif
|
%endif
|
||||||
%{_libexecdir}/installed-tests/fwupd/*
|
%{_libexecdir}/installed-tests/fwupd/*
|
||||||
|
Loading…
Reference in New Issue
Block a user