mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Fix building package on amazon linux
This commit is contained in:
parent
c2a871859c
commit
caaf5feff7
1 changed files with 4 additions and 0 deletions
|
@ -43,9 +43,13 @@ BuildRequires: python3
|
|||
BuildRequires: python3-pip
|
||||
BuildRequires: openssl
|
||||
BuildRequires: git
|
||||
|
||||
# rhel is not defined on all rpm based distros.
|
||||
%if %{?rhel:1}%{!?rhel:0}
|
||||
%if %{rhel} >= 9
|
||||
BuildRequires: libxcrypt-compat
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
Salt is a distributed remote execution system used to execute commands and
|
||||
|
|
Loading…
Add table
Reference in a new issue