From 415ee1743b0b69418589a566833e995f77e7da26 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Fri, 29 Sep 2017 12:07:08 -0700 Subject: [PATCH] Cleanup spec file conditionals --- python-sure.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-sure.spec b/python-sure.spec index ed33b11..299f0f0 100644 --- a/python-sure.spec +++ b/python-sure.spec @@ -11,7 +11,7 @@ # Created by pyp2rpm-0.5.1 # if building for SCL or on RHEL, don't build python3- subpackage -%if %{?scl:0}%{!?scl:1} && %{?rhel:0}%{!?rhel:1} +%if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 %else %global with_python3 0 @@ -22,7 +22,7 @@ Name: %{?scl_prefix}python-%{pypi_name} Version: 1.4.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{sum} License: GPLv3+ @@ -125,6 +125,9 @@ popd %endif %changelog +* Fri Sep 29 2017 Troy Dawson - 1.4.0-4 +- Cleanup spec file conditionals + * Thu Jul 27 2017 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild