pesign/0003-Add-versioned-x86_64-arches-support.patch

26 lines
746 B
Diff

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