microcode_ctl/microcode_ctl.spec
starlet-dx 83d62f69e6 update version to 2.1-33, fix CVE-2020-24511 CVE-2020-24512
(cherry picked from commit 2523632a07e0317cc622231ce50835c69dd1c82a)
2021-09-23 19:32:44 +08:00

38 lines
1.1 KiB
RPMSpec

%global debug_package %{nil}
%define upstream_version 2.1-33
Name: microcode_ctl
Summary: Microcode update for CPU
Version: 2.1
Release: 33
License: GPLv2+ and Redistributable, no modification permitted
URL: https://pagure.io/microcode_ctl
ExclusiveArch: %{ix86} x86_64
Source0: https://releases.pagure.org/microcode_ctl/%{name}-%{upstream_version}.tar.xz
%description
This is a tool to transform and deploy microcode update for x86 CPUs.
%prep
%autosetup -n %{name}-%{upstream_version}
%build
%{make_build} CFLAGS="$RPM_OPT_FLAGS"
%install
make DESTDIR=%{buildroot} PREFIX=%{_prefix} INSDIR=/usr/sbin install clean
%files
/lib/firmware/*
%doc /usr/share/doc/microcode_ctl/*
%changelog
* Thu Sep 23 2021 yaoxin <yaoxin30@huawei.com> - 2.1-33
- update version to 2.1-33, fix CVE-2020-24511 CVE-2020-24512
* Mon Dec 14 2020 zhanghua <zhanghua40@huawei.com> - 2.1-28
- update version to 2.1-31, fix CVE-2020-8695, CVE-2020-8696, CVE-2020-8698
* Thu Nov 7 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1-27
- Package init