8
0
forked from pool/ucode-amd

Do not conflict filesystem < 84

Change conflicts filesystem < 84 to conflicts filesystem without
may-perform-usrmerge. Version 84 is specific to Tumbleweed; CODE
16 uses Version 16; yet we need to ensure we get an up-to-date
version of filesystem. Relying on the recently introduced provides
instructing zypp about the usrmerge is perfect for this use case.
This commit is contained in:
Takashi Iwai
2025-04-25 16:05:04 +02:00
parent f5bdc69bf6
commit 4cd3cf2ffd
4 changed files with 19 additions and 12 deletions

BIN
kernel-firmware-tools-20250211.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
kernel-firmware-tools-20250425.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Apr 25 13:52:22 UTC 2025 - Takashi Iwai <tiwai@suse.com>
- Change conflicts filesystem < 84 to conflicts filesystem without
may-perform-usrmerge. Version 84 is specific to Tumbleweed; CODE
16 uses Version 16; yet we need to ensure we get an up-to-date
version of filesystem. Relying on the recently introduced provides
instructing zypp about the usrmerge is perfect for this use case.
-------------------------------------------------------------------
Tue Feb 11 09:26:37 UTC 2025 - Takashi Iwai <tiwai@suse.com>

View File

@@ -26,27 +26,25 @@ Name: ucode-amd
Version: 20250206
Release: 0
Summary: Kernel firmware files for Microcode updates for AMD CPUs
License: SUSE-Firmware AND GPL-2.0-or-later
License: GPL-2.0-or-later AND SUSE-Firmware
Group: System/Kernel
URL: https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
Source0: %{name}-%{version}.tar.xz
# URL: https://github.com/openSUSE/kernel-firmware-tools/
Source1: kernel-firmware-tools-20250211.tar.xz
Source1: https://github.com/openSUSE/kernel-firmware-tools/archive/refs/tags/20250425.tar.gz#/kernel-firmware-tools-20250425.tar.gz
Source2: %{name}-rpmlintrc
Source3: git_id
Source10: topicprovs
BuildRequires: suse-module-tools
Requires(post): %{_bindir}/mkdir
Requires(post): %{_bindir}/touch
Requires(postun):%{_bindir}/mkdir
Requires(postun):%{_bindir}/touch
Requires(postun): %{_bindir}/mkdir
Requires(postun): %{_bindir}/touch
Requires(post): dracut >= 049
Conflicts: kernel < 5.3
Conflicts: kernel-firmware-uncompressed
BuildArch: noarch
%if 0%{?suse_version} >= 1550
# make sure we have post-usrmerge filesystem package on TW
Conflicts: filesystem < 84
Conflicts: (filesystem without may-perform-usrmerge)
%endif
# new style (after 3.12 kernel somewhen)
Supplements: modalias(cpu:type%%3Ax86*ven0002*)
@@ -56,9 +54,9 @@ Supplements: modalias(x86cpu:vendor%%3A0002%%3Afamily%%3A*%%3Amodel%%3A*%%3Af
%description
This package contains kernel firmware files for Microcode updates for AMD CPUs.
%prep
%autosetup -a1 -p1
%autosetup -p1
tar xf %{S:1} --strip-components=1
# strip down WHENCE for the topic
scripts/strip-topic-whence.sh ucode-amd < WHENCE > WHENCE.new
mv WHENCE.new WHENCE