diff --git a/.gitignore b/.gitignore index 6b8568d..dd88c61 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ PyYAML-3.09.tar.gz /PyYAML-5.1.tar.gz /PyYAML-5.1.1.tar.gz /PyYAML-5.1.2.tar.gz +/5.1.2.tar.gz diff --git a/PyYAML.spec b/PyYAML.spec index f78c821..75d010c 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -1,9 +1,9 @@ -# Prepared for Python 2 removal -%bcond_without python2 +# Python 2 removal, RHBZ#1775075 +%bcond_with python2 Name: PyYAML Version: 5.1.2 -Release: 3%{?dist} +Release: 4%{?dist} %global uversion %{version} Summary: YAML parser and emitter for Python @@ -66,7 +66,7 @@ Obsoletes: python3-PyYAML < 4.1-5 %prep -%setup -q -n pyyaml-%{version} +%setup -q chmod a-x examples/yaml-highlight/yaml_hl.py # remove pre-generated file @@ -110,6 +110,9 @@ rm -rf ext/_yaml.c %changelog +* Fri Nov 22 2019 John Eckersberg - 5.1.2-4 +- Build without python2 by default (rhbz#1775075) + * Thu Sep 19 2019 Miro HronĨok - 5.1.2-3 - Stop providing PyYAML from python2-pyyaml, Python now means Python 3 diff --git a/sources b/sources index eba5090..022f9ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (PyYAML-5.1.2.tar.gz) = b5ee201c612486a95c87b7e41d474313160284359b8b30ababc80b51325aef9dd7dc27eb3b8a03a4749cb8c7e3789c5684d5c285fe35d4b20be1f189641531e0 +SHA512 (5.1.2.tar.gz) = b5ee201c612486a95c87b7e41d474313160284359b8b30ababc80b51325aef9dd7dc27eb3b8a03a4749cb8c7e3789c5684d5c285fe35d4b20be1f189641531e0