Fix compilation failure caused by tar upgrade
(cherry picked from commit 31d3585a49ad3ac4c037b7b3798a4235794830cf)
This commit is contained in:
parent
7a9fe6740b
commit
c246262f04
12
Fix-compilation-failure-caused-by-tar-upgrade.patch
Normal file
12
Fix-compilation-failure-caused-by-tar-upgrade.patch
Normal file
@ -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:
|
||||
@ -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 <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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user