From e8c4e3bfd3f2af513ad934df1168ce57c44deacc Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Mon, 7 Mar 2016 09:21:58 -0700 Subject: BR: python{2,3}-devel (rhbz#1313477) --- ceph-ansible.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ceph-ansible.spec b/ceph-ansible.spec index 0041a7a..b7919cb 100644 --- a/ceph-ansible.spec +++ b/ceph-ansible.spec @@ -1,6 +1,6 @@ Name: ceph-ansible Version: 1.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Ansible playbooks for Ceph # Some files have been copied from Ansbile (GPLv3+). For example: # library/ceph_facts @@ -13,6 +13,11 @@ Source0: https://github.com/ceph/%{name}/archive/v%{version}/%{name}-v%{v BuildArch: noarch BuildRequires: ansible +%if 0%{?fedora} || 0%{?rhel} > 7 +BuildRequires: python3-devel +%else +BuildRequires: python2-devel +%endif Requires: ansible @@ -41,6 +46,9 @@ ansible-playbook -i dummy-ansible-hosts test.yml --syntax-check %{_datarootdir}/ceph-ansible %changelog +* Mon Mar 07 2016 Ken Dreyer - 1.0.1-4 +- BR: python{2,3}-devel (rhbz#1313477) + * Mon Mar 07 2016 Ken Dreyer - 1.0.1-3 - Ship ansible.cfg -- cgit