diff --git a/Fix-compilation-failure-caused-by-tar-upgrade.patch b/Fix-compilation-failure-caused-by-tar-upgrade.patch new file mode 100644 index 0000000000000000000000000000000000000000..4959ea30b2b0f914ad41c80239c98c7d040456d8 --- /dev/null +++ b/Fix-compilation-failure-caused-by-tar-upgrade.patch @@ -0,0 +1,12 @@ +diff -Nur a/Makefile b/Makefile +--- a/Makefile 2022-08-10 02:27:01.000000000 +0800 ++++ b/Makefile 2023-08-21 10:23:19.374614142 +0800 +@@ -21,7 +21,7 @@ + MICDIRINTEL = $(MICDIR)/intel-ucode + + all: +- tar xf $(MICROCODE_INTEL) --strip 1 */intel-ucode/* */intel-ucode-with-caveats/* \ ++ tar xf $(MICROCODE_INTEL) --wildcards --strip 1 */intel-ucode/* */intel-ucode-with-caveats/* \ + --one-top-level=intel-ucode --strip-components=2 --backup=simple + + clean: diff --git a/microcode_ctl.spec b/microcode_ctl.spec index 395c57bd816cb5f36f984e44bc2e94670aa02bb9..a992df7cdbee520d76d349171b7777db1ad0c1d5 100644 --- a/microcode_ctl.spec +++ b/microcode_ctl.spec @@ -4,11 +4,12 @@ Name: microcode_ctl Summary: Microcode update for CPU Version: 2.1 -Release: 38 +Release: 39 License: GPLv2+ and Redistributable, no modification permitted URL: https://pagure.io/microcode_ctl ExclusiveArch: %{ix86} x86_64 loongarch64 Source0: https://releases.pagure.org/microcode_ctl/%{name}-%{upstream_version}.tar.xz +Patch0: Fix-compilation-failure-caused-by-tar-upgrade.patch %description This is a tool to transform and deploy microcode update for x86 CPUs. @@ -27,6 +28,9 @@ make DESTDIR=%{buildroot} PREFIX=%{_prefix} INSDIR=/usr/sbin install clean %doc /usr/share/doc/microcode_ctl/* %changelog +* Mon Aug 21 2023 liyanan - 2.1-39 +- Fix compilation failure caused by tar upgrade + * Mon Nov 14 2022 zhaozhen - 2.1-38 - add loongarch support