Flip conditional to make weak-installing firmware the default

As it stands, the logic was set up such that the weak dependencies
were not being used in ELN, which makes optional minimization of
the package set for virtual machine images difficult for RHEL-ish
images.
This commit is contained in:
Neal Gompa 2023-10-02 05:41:05 -04:00
parent 564b1c8774
commit e8ef8f4ffe

View File

@ -5,7 +5,7 @@
Name: linux-firmware
Version: 20230919
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Firmware files used by the Linux kernel
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
URL: http://www.kernel.org/
@ -21,19 +21,19 @@ Provides: kernel-firmware = %{version}
Obsoletes: kernel-firmware < %{version}
Conflicts: microcode_ctl < 2.1-0
Recommends: amd-gpu-firmware
Recommends: intel-gpu-firmware
Recommends: nvidia-gpu-firmware
%if 0%{?fedora} > 38
Recommends: atheros-firmware
Recommends: brcmfmac-firmware
Recommends: mt7xxx-firmware
Recommends: realtek-firmware
%else
%if 0%{?fedora} && 0%{?fedora} < 39
Requires: atheros-firmware
Requires: brcmfmac-firmware
Requires: mt7xxx-firmware
Requires: realtek-firmware
%else
Recommends: amd-gpu-firmware
Recommends: intel-gpu-firmware
Recommends: nvidia-gpu-firmware
Recommends: atheros-firmware
Recommends: brcmfmac-firmware
Recommends: mt7xxx-firmware
Recommends: realtek-firmware
%endif
%description
@ -469,6 +469,9 @@ sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files
%{_firmwarepath}/v4l-cx2*
%changelog
* Mon Oct 02 2023 Neal Gompa <ngompa@fedoraproject.org> - 20230919-2
- Flip conditional to make weak-installing firmware the default
* Tue Sep 19 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 20230919-1
- Update to upstream 20230919 release
- amd-ucode: Add note on fam19h warnings