Use requires for GPU firmware on < Fedora 37
This commit is contained in:
parent
170f99983b
commit
f2089ed603
@ -1,5 +1,5 @@
|
||||
%global debug_package %{nil}
|
||||
%global firmware_release 138
|
||||
%global firmware_release 139
|
||||
|
||||
%global _firmwarepath /usr/lib/firmware
|
||||
%define _binaries_in_noarch_packages_terminate_build 0
|
||||
@ -20,9 +20,15 @@ Requires: linux-firmware-whence
|
||||
Provides: kernel-firmware = %{version}
|
||||
Obsoletes: kernel-firmware < %{version}
|
||||
Conflicts: microcode_ctl < 2.1-0
|
||||
%if 0%{?fedora} > 36
|
||||
Recommends: amd-gpu-firmware
|
||||
Recommends: intel-gpu-firmware
|
||||
Recommends: nvidia-gpu-firmware
|
||||
%else
|
||||
Requires: amd-gpu-firmware
|
||||
Requires: intel-gpu-firmware
|
||||
Requires: nvidia-gpu-firmware
|
||||
%endif
|
||||
|
||||
%description
|
||||
This package includes firmware files required for some devices to
|
||||
@ -522,6 +528,9 @@ sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files
|
||||
%{_firmwarepath}/netronome/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 13 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 20220815-139
|
||||
- Use requires for GPU firmware on < Fedora 37
|
||||
|
||||
* Tue Aug 16 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 20220815-138
|
||||
- Update to upstream 20220815 release
|
||||
- mediatek: Update mt8183/mt8192/mt8195 SCP firmware
|
||||
|
Loading…
Reference in New Issue
Block a user