From e63d7304e7467a1e224063ecc9b5e830fc63747d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mar 29 2017 05:00:06 +0000 Subject: Conditionalize python3 files for epel builds. --- diff --git a/ansible.spec b/ansible.spec index 6959cd2..3495854 100644 --- a/ansible.spec +++ b/ansible.spec @@ -20,7 +20,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Name: ansible Summary: SSH-based configuration management, deployment, and task execution system Version: 2.2.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Libraries License: GPLv3+ @@ -280,6 +280,7 @@ rm -rf $RPM_BUILD_ROOT %doc README.md PKG-INFO COPYING CHANGELOG.md %doc %{_mandir}/man1/ansible* +%if 0%{?with_python3} %files -n ansible-python3 %defattr(-,root,root,-) %{python3_sitelib}/ansible* @@ -287,8 +288,12 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/ansible/ %doc README.md PKG-INFO COPYING CHANGELOG.md %doc %{_mandir}/man1/ansible* +%endif # python3 %changelog +* Tue Mar 28 2017 Kevin Fenzi - 2.2.2.0-2 +- Conditionalize python3 files for epel builds. + * Tue Mar 28 2017 Toshio Kuratomi - - 2.2.2.0-1 - 2.2.2.0 final - Add new patch to fix unittests