From 950ffe032642b9a216e08e1954cf1451a52fb96d Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Fri, 29 Sep 2017 11:59:25 -0700 Subject: [PATCH] Cleanup spec file conditionals --- python-werkzeug.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-werkzeug.spec b/python-werkzeug.spec index beac003..a2b2017 100644 --- a/python-werkzeug.spec +++ b/python-werkzeug.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 %else %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -8,7 +8,7 @@ Name: python-werkzeug Version: 0.11.10 -Release: 7%{?dist} +Release: 8%{?dist} Summary: The Swiss Army knife of Python web development Group: Development/Libraries @@ -176,6 +176,9 @@ popd %changelog +* Fri Sep 29 2017 Troy Dawson - 0.11.10-8 +- Cleanup spec file conditionals + * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.11.10-7 - Python 2 binary package renamed to python2-werkzeug See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3