From ab8d854c09699c512d25866c63f87defdb6c24b7 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Fri, 29 Sep 2017 09:33:38 -0700 Subject: [PATCH] Cleanup spec file conditionals --- python-pretend.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/python-pretend.spec b/python-pretend.spec index 23067b6..7e043cc 100644 --- a/python-pretend.spec +++ b/python-pretend.spec @@ -1,5 +1,4 @@ -# enable python3 on fedora -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %bcond_without python3 %else %bcond_with python3 @@ -9,7 +8,7 @@ Name: python-pretend Version: 1.0.8 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A library for stubbing in Python Group: Development/Libraries @@ -90,6 +89,9 @@ Pretend is a library to make stubbing with Python easier. %changelog +* Fri Sep 29 2017 Troy Dawson - 1.0.8-11 +- Cleanup spec file conditionals + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.8-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild