Compare commits

..

No commits in common. "73ed8f96f2a403ac5d1ea80c3c0934ca83d38f0f" and "3467f119c5c44074d3b9c783a2dcb6cb84462137" have entirely different histories.

4 changed files with 14 additions and 43 deletions

Binary file not shown.

BIN
microcode_ctl-2.1-37.tar.xz Normal file

Binary file not shown.

View File

@ -1,61 +1,32 @@
%global debug_package %{nil}
%define upstream_version 2.1-37
Name: microcode_ctl
Summary: Microcode update for CPU
Version: 20240531
Release: 1
Version: 2.1
Release: 37
License: GPLv2+ and Redistributable, no modification permitted
URL: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files
ExclusiveArch: %{ix86} x86_64 loongarch64 ppc64le
Source0: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/tags/microcode-%{version}.tar.gz
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 Intel-Linux-Processor-Microcode-Data-Files-tags-microcode-%{version}
rm -rf intel-ucode intel-ucode-with-caveats
%autosetup -n %{name}-%{upstream_version}
%build
tar xf %{SOURCE0} --strip 1 */intel-ucode/* */intel-ucode-with-caveats/* \
--one-top-level=intel-ucode --strip-components=2 --backup=simple
%{make_build} CFLAGS="$RPM_OPT_FLAGS"
%install
install -d %{buildroot}/lib/firmware/intel-ucode
install -m 644 intel-ucode/* %{buildroot}/lib/firmware/intel-ucode
rm -rf intel-ucode
make DESTDIR=%{buildroot} PREFIX=%{_prefix} INSDIR=/usr/sbin install clean
%files
/lib/firmware/*
%doc /usr/share/doc/microcode_ctl/*
%changelog
* Tue Jun 11 2024 wangkai <13474090681@163.com> - 20240531-1
- Update to 20240531 for fix CVE-2023-45733, CVE-2023-45745,
CVE-2023-46103, CVE-2023-47855
* Thu Mar 14 2024 wangkai <13474090681@163.com> - 20240312-1
- Update to 20240312 for fix CVE-2023-38575, CVE-2023-39368,
CVE-2023-22655, CVE-2023-43490, CVE-2023-28746
* Mon Mar 4 2024 peng.zou <peng.zou@shingroup.cn> - 20231114-2
- add ppc64le support
* Tue Jan 9 2024 liyanan <liyanan61@h-partners.com> - 20231114-1
- Modify Source0 to get it form github
* Wed Nov 15 2023 lwg K <weigangli99@gmail.com> - 2.1-42
- update to upstream 2.1-42. 20231114
- fix CVE-2023-23583
* Wed Aug 23 2023 yaoxin <yao_xin001@hoperun.com> - 2.1-41
- Update to 2.1-41 for fix CVE-2022-40982,CVE-2022-38090 and CVE-2022-33196
* Mon Aug 21 2023 liyanan <thistleslyn@163.com> - 2.1-39
- Fix compilation failure caused by tar upgrade
* Mon Nov 14 2022 zhaozhen <zhaozhen@loongson.cn> - 2.1-38
- add loongarch support
* Fri Sep 23 2022 luopihui <luopihui@Ncti-gba.cn> - 2.1-37
- Upgrade to 2.1-37
- Fix CVE-2022-21233

View File

@ -1,4 +1,4 @@
version_control: github
src_repo: intel/Intel-Linux-Processor-Microcode-Data-Files
tag_prefix: "microcode-"
seperator: ""
version_control: git
src_repo: https://pagure.io/microcode_ctl.git
tag_prefix: "^v"
seperator: "."