Add versioned x86_64 arches support

This commit is contained in:
Andrew Lukoshko 2024-08-08 21:21:58 +00:00
parent 91538573fb
commit c7c43ad2c8
3 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From e41a36c966e56fd82a9782551765b1fe8f198272 Mon Sep 17 00:00:00 2001
From: Andrew Lukoshko <alukoshko@almalinux.org>
Date: Thu, 8 Aug 2024 21:15:58 +0000
Subject: [PATCH] Add versioned x86_64 arches support
---
src/pesign-rpmbuild-helper.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pesign-rpmbuild-helper.in b/src/pesign-rpmbuild-helper.in
index 9dee56e..51234db 100644
--- a/src/pesign-rpmbuild-helper.in
+++ b/src/pesign-rpmbuild-helper.in
@@ -144,7 +144,7 @@ main() {
fi
target_cpu="${target_cpu/i?86/ia32}"
- target_cpu="${target_cpu/x86_64/x64}"
+ target_cpu="${target_cpu/x86_64*/x64}"
target_cpu="${target_cpu/aarch64/aa64}"
target_cpu="${target_cpu/arm*/arm/}"
--
2.43.5

View File

@ -1,2 +1,3 @@
Patch0001: 0001-cms_common-Fixed-Segmentation-fault.patch
Patch0002: 0002-Fix-reversed-calloc-arguments.patch
Patch0003: 0003-Add-versioned-x86_64-arches-support.patch

View File

@ -6,7 +6,7 @@
Name: pesign
Summary: Signing utility for UEFI binaries
Version: 116
Release: 5%{?dist}
Release: 5%{?dist}.alma.1
License: GPL-2.0-only
URL: https://github.com/rhboot/pesign
@ -162,6 +162,9 @@ certutil -d %{_sysconfdir}/pki/pesign/ -X -L > /dev/null
%{python3_sitelib}/mockbuild/plugins/pesign.*
%changelog
* Thu Aug 08 2024 Andrew Lukoshko <alukoshko@almalinux.org> - 116-5.alma.1
- Add versioned x86_64 arches support
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com>
- Bump release for June 2024 mass rebuild