2022-11-15 06:27:14 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2022-05-17 08:54:26 +00:00
|
|
|
From: Peter Jones <pjones@redhat.com>
|
|
|
|
Date: Tue, 10 Aug 2021 12:39:08 -0400
|
|
|
|
Subject: [PATCH] macros.pesign: handle centos like rhel with --rhelver
|
|
|
|
|
|
|
|
Signed-off-by: Peter Jones <pjones@redhat.com>
|
2022-11-15 06:27:14 +00:00
|
|
|
(cherry picked from commit a1bc65c8b0fc20dbe9c9714ee3a31937184ba7f6)
|
|
|
|
(cherry picked from commit 83190f50505a0744dfb70d3b549914ae713e6713)
|
2022-05-17 08:54:26 +00:00
|
|
|
---
|
2022-11-15 06:27:14 +00:00
|
|
|
src/macros.pesign | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
2022-05-17 08:54:26 +00:00
|
|
|
|
|
|
|
diff --git a/src/macros.pesign b/src/macros.pesign
|
2022-11-15 06:27:14 +00:00
|
|
|
index 34af57c..b7d6af1 100644
|
2022-05-17 08:54:26 +00:00
|
|
|
--- a/src/macros.pesign
|
|
|
|
+++ b/src/macros.pesign
|
2022-11-15 06:27:14 +00:00
|
|
|
@@ -34,7 +34,8 @@
|
|
|
|
%{?__pesign_cert:--cert %{__pesign_cert}} \\\
|
2022-05-17 08:54:26 +00:00
|
|
|
%{?_buildhost:--hostname "%{_buildhost}"} \\\
|
|
|
|
%{?vendor:--vendor "%{vendor}"} \\\
|
|
|
|
- %{?_rhel:--rhelver "%{_rhel}"} \\\
|
|
|
|
+ %{?rhel:--rhelver "%{rhel}"} \\\
|
|
|
|
+ %{?centos:--rhelver "%{centos}"} \\\
|
|
|
|
%{?-n:--rhelcert %{-n*}}%{?!-n:--rhelcert %{__pesign_cert}} \\\
|
|
|
|
%{?-a:--rhelcafile "%{-a*}"} \\\
|
|
|
|
%{?-c:--rhelcertfile "%{-c*}"} \\\
|