Cleanup spec file conditionals

This commit is contained in:
Troy Dawson 2017-09-27 08:22:08 -07:00
parent 3e1f78f7d1
commit 60bf96a9c5

View File

@ -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 <tdawson@redhat.com> - 3.12-8
- Cleanup spec file conditionals
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.12-7
- Add Provides for the old name without %%_isa