Blame 0004-macros.pesign-handle-centos-like-rhel-with-rhelver.patch

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