mirror of https://github.com/ceph/ceph-ansible.git
rpm: add RHEL 8 + Fedora support
Fedora and RHEL 8 have Python 3, so we must require Python 2 on RHEL 7 and Python 3 on RHEL 8. Signed-off-by: Ken Dreyer <kdreyer@redhat.com>pull/3621/head
parent
3930791cb7
commit
0cf590244a
|
@ -17,11 +17,17 @@ Obsoletes: ceph-iscsi-ansible <= 1.5
|
|||
BuildArch: noarch
|
||||
|
||||
BuildRequires: ansible >= 2.7
|
||||
BuildRequires: python2-devel
|
||||
|
||||
Requires: ansible >= 2.7
|
||||
Requires: python-netaddr
|
||||
Requires: python-notario >= 0.0.13
|
||||
|
||||
%if 0%{?rhel} == 7
|
||||
BuildRequires: python2-devel
|
||||
Requires: python2-netaddr
|
||||
Requires: python2-notario >= 0.0.13
|
||||
%else
|
||||
BuildRequires: python3-devel
|
||||
Requires: python3-netaddr
|
||||
Requires: python3-notario >= 0.0.13
|
||||
%endif
|
||||
|
||||
%description
|
||||
Ansible playbooks for Ceph
|
||||
|
|
Loading…
Reference in New Issue