From 4ce23643316b48195177081126bd01a4fa14be17 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Fri, 1 Dec 2017 13:49:49 -0800 Subject: [PATCH] Update spec file conditionals --- python-boto.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-boto.spec b/python-boto.spec index 949dc33..ff6429c 100644 --- a/python-boto.spec +++ b/python-boto.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %bcond_without python3 %bcond_with executables %else @@ -7,7 +7,7 @@ %endif # Unit tests don't work on python 2.6 -%if 0%{?el6} +%if 0%{?rhel} && 0%{?rhel} == 6 %bcond_with unittests %else %bcond_without unittests @@ -17,7 +17,7 @@ Summary: A simple, lightweight interface to Amazon Web Services Name: python-boto Version: 2.45.0 -Release: 5%{?dist} +Release: 6%{?dist} License: MIT Group: Development/Languages URL: https://github.com/boto/boto @@ -200,6 +200,9 @@ mv $RPM_BUILD_ROOT/%{_bindir} examples %changelog +* Fri Dec 01 2017 Troy Dawson - 2.45.0-6 +- Update spec file conditionals + * Thu Jul 27 2017 Fedora Release Engineering - 2.45.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild