From 60bf96a9c58d2402d682f51573425c86a8d6d530 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 27 Sep 2017 08:22:08 -0700 Subject: [PATCH] Cleanup spec file conditionals --- PyYAML.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/PyYAML.spec b/PyYAML.spec index 699663f..5f69a27 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} > 12 +%if 0%{?fedora} || 0%{?rhel} >= 8 %global with_python3 1 %else %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} @@ -6,7 +6,7 @@ Name: PyYAML Version: 3.12 -Release: 7%{?dist} +Release: 8%{?dist} Summary: YAML parser and emitter for Python Group: Development/Libraries @@ -133,6 +133,9 @@ popd %changelog +* Wed Sep 27 2017 Troy Dawson - 3.12-8 +- Cleanup spec file conditionals + * Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 3.12-7 - Add Provides for the old name without %%_isa