spec: Add rhel conditional for qemuroms

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2021-07-20 16:34:15 -04:00
parent fd5ab2443c
commit 55b448c3bd

View File

@ -4,14 +4,19 @@
# ROMS we want for QEMU with format PCIID:QEMUNAME
%global qemuroms \\\
10222000:pcnet \\\
10ec8029:ne2k_pci \\\
8086100e:e1000 \\\
10ec8139:rtl8139 \\\
1af41000:virtio \\\
808610d3:e1000e
%if 0%{?fedora}
# Fedora specific roms
%global qemuroms %{qemuroms} \\\
10222000:pcnet \\\
10ec8029:ne2k_pci \\\
80861209:eepro100 \\\
808610d3:e1000e \\\
15ad07b0:vmxnet3
%endif
# We only build the ROMs if on an x86 build host. The resulting
# binary RPM will be noarch, so other archs will still be able