Accepting request 349007 from home:tiwai:branches:Kernel:HEAD

- Fix dependencies for initrd macros (boo#958562)
- Fix missing dependency for ucode-amd, too (boo#958562)
- Call missing initrd macro at postun (boo#958562)

OBS-URL: https://build.opensuse.org/request/show/349007
OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=109
This commit is contained in:
Thomas Renninger 2015-12-15 16:32:39 +00:00 committed by Git OBS Bridge
parent f3e23a5e89
commit 53e73e46e6
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Dec 10 15:57:48 CET 2015 - tiwai@suse.de
- Fix dependencies for initrd macros (boo#958562)
- Fix missing dependency for ucode-amd, too (boo#958562)
- Call missing initrd macro at postun (boo#958562)
-------------------------------------------------------------------
Mon Nov 9 17:47:09 CET 2015 - tiwai@suse.de

View File

@ -37,8 +37,8 @@ Source2: ast_dp501_fw.bin
%define __ksyms_path ^/lib/firmware
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
# We make use of mkdir and touch during pre
Requires(pre): coreutils
Requires(post): coreutils
Requires(postun): coreutils
Provides: qlogic-firmware
Obsoletes: qlogic-firmware
Provides: cxgb3-firmware
@ -77,6 +77,8 @@ previously included in the kernel. It is shared by all kernels >=
Supplements: modalias(x86cpu:vendor%3A0002%3Afamily%3A*%3Amodel%3A*%3Afeature%3A*)
Summary: Microcode updates for AMD CPUs
Group: System/Kernel
Requires(post): coreutils
Requires(postun): coreutils
%description -n ucode-amd
This package contains the microcode files used by AMD CPUs.
@ -110,6 +112,12 @@ rm -rf %{buildroot}
%post -n ucode-amd
%{?regenerate_initrd_post}
%postun
%{?regenerate_initrd_post}
%postun -n ucode-amd
%{?regenerate_initrd_post}
%posttrans
%{?regenerate_initrd_posttrans}