Blame SOURCES/0014-macros.pesign-handle-centos-like-rhel-with-rhelver.patch

1842f1
From efb69f149f256631a952e0a0db5b45ed5d391509 Mon Sep 17 00:00:00 2001
1842f1
From: Peter Jones <pjones@redhat.com>
1842f1
Date: Tue, 10 Aug 2021 12:39:08 -0400
1842f1
Subject: [PATCH] macros.pesign: handle centos like rhel with --rhelver
1842f1
1842f1
Signed-off-by: Peter Jones <pjones@redhat.com>
1842f1
---
1842f1
 src/macros.pesign | 1 +
1842f1
 1 file changed, 1 insertion(+)
1842f1
1842f1
diff --git a/src/macros.pesign b/src/macros.pesign
1842f1
index 34af57c5b3b..2ca1afb916e 100644
1842f1
--- a/src/macros.pesign
1842f1
+++ b/src/macros.pesign
1842f1
@@ -35,6 +35,7 @@
1842f1
     %{?_buildhost:--hostname "%{_buildhost}"}				\\\
1842f1
     %{?vendor:--vendor "%{vendor}"}					\\\
1842f1
-    %{?_rhel:--rhelver "%{_rhel}"}					\\\
1842f1
+    %{?rhel:--rhelver "%{rhel}"}					\\\
1842f1
+    %{?centos:--rhelver "%{centos}"}					\\\
1842f1
     %{?-n:--rhelcert %{-n*}}%{?!-n:--rhelcert %{__pesign_cert}}	\\\
1842f1
     %{?-a:--rhelcafile "%{-a*}"}					\\\
1842f1
     %{?-c:--rhelcertfile "%{-c*}"}					\\\
1842f1
-- 
1842f1
2.31.1
1842f1