#7 Fix build for ELN
Opened 11 months ago by sgallagh. Modified 11 months ago
rpms/ sgallagh/fwupd eln_fix  into  rawhide

file modified
+2 -2
@@ -42,7 +42,7 @@ 

  %endif

  

  # only available recently

- %if 0%{?fedora} >= 30

+ %if 0%{?fedora} >= 30 || 0%{?rhel} >= 10

  %global have_modem_manager 1

  %endif

  
@@ -381,7 +381,7 @@ 

  %endif

  %{_datadir}/installed-tests/fwupd/chassis_type

  %{_datadir}/installed-tests/fwupd/sys_vendor

- %if 0%{?fedora} >= 37

+ %if 0%{?fedora} >= 37 || 0%{?rhel} >= 10

  %{_datadir}/fwupd/device-tests/*.json

  %endif

  %{_libexecdir}/installed-tests/fwupd/*

Signed-off-by: Stephen Gallagher sgallagh@redhat.com

This is a quick fix that appears to work, however I'm not sure if we actually want or need to be carrying tests for all that hardware in ELN.

Metadata