From 5c021fa551f6635d721e8a8f94fecda5f5a41749 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Tue, 23 Jan 2018 14:41:12 +0100 Subject: [PATCH] fix conditional --- python-pluggy.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-pluggy.spec b/python-pluggy.spec index 1ae395d..8ce4999 100644 --- a/python-pluggy.spec +++ b/python-pluggy.spec @@ -5,7 +5,7 @@ %{!?python2_sitearch: %global python2_sitearch %{python_sitearch}} %{!?python2_version: %global python2_version %{python_version}} -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 %else %global with_python3 0 @@ -13,7 +13,7 @@ Name: python-pluggy Version: 0.3.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: The plugin manager stripped of pytest specific details License: MIT @@ -125,6 +125,9 @@ popd %changelog +* Tue Jan 23 2018 Karsten Hopp - 0.3.1-10 +- fix conditional + * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.3.1-9 - Python 2 binary package renamed to python2-pluggy See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3