Skip to content

Commit

Permalink
macros.pesign: handle centos like rhel with --rhelver
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Jones <[email protected]>
  • Loading branch information
vathpela authored and frozencemetery committed Apr 1, 2022
1 parent a6739ac commit a1bc65c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/macros.pesign
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
%{?__pesign_cert:--cert %{__pesign_cert}} \\\
%{?_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*}"} \\\
Expand Down

0 comments on commit a1bc65c

Please sign in to comment.