diff --git a/python-asttokens.spec b/python-asttokens.spec index 5f7d6c6..c3c90bc 100644 --- a/python-asttokens.spec +++ b/python-asttokens.spec @@ -1,6 +1,6 @@ Name: python-asttokens Version: 1.1.10 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Module to annotate Python abstract syntax trees with source code positions License: ASL 2.0 @@ -15,13 +15,9 @@ Patch0003: 0003-line_numbers-fix-off-by-one-in-offset-indexing.patch Patch0004: 0004-test-split-calls-to-to_source-into-seperate-lines.patch BuildArch: noarch -BuildRequires: python2-devel BuildRequires: python3-devel -BuildRequires: %{py2_dist nose} BuildRequires: %{py3_dist nose} -BuildRequires: %{py2_dist astroid} BuildRequires: %{py3_dist astroid} -BuildRequires: %{py2_dist six} BuildRequires: %{py3_dist six} %global _description \ @@ -33,13 +29,6 @@ nodes, for example for automated refactoring or highlighting. %description %_description -%package -n python2-asttokens -Summary: %{summary} -Requires: %{py2_dist six} -%{?python_provide:%python_provide python2-asttokens} - -%description -n python2-asttokens %_description - %package -n python3-asttokens Summary: %{summary} Requires: %{py3_dist six} @@ -51,29 +40,24 @@ Requires: %{py3_dist six} %autosetup -p1 -n asttokens-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install %check -nosetests-2 tests/ -v nosetests-3 tests/ -v -%files -n python2-asttokens -%license LICENSE -%doc README.rst -# For noarch packages: sitelib -%{python2_sitelib}/* - %files -n python3-asttokens %license LICENSE %doc README.rst %{python3_sitelib}/* %changelog +* Wed Oct 24 2018 Zbigniew Jędrzejewski-Szmek - 1.1.10-4 +- Subpackage python2-asttokens has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Fri Jul 13 2018 Fedora Release Engineering - 1.1.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild