Dominique Leuenberger 2015-12-18 20:52:44 +00:00 committed by Git OBS Bridge
commit 7053dd72da
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}