diff --git a/python-visitor.spec b/python-visitor.spec index 02ffc85..6fe8ecb 100644 --- a/python-visitor.spec +++ b/python-visitor.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 0.1.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A tiny python visitor implementation License: MIT @@ -10,9 +10,6 @@ URL: http://github.com/mbr/visitor Source0: https://files.pythonhosted.org/packages/source/v/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-setuptools -BuildRequires: python2-devel - BuildRequires: python3-setuptools BuildRequires: python3-devel @@ -20,14 +17,6 @@ BuildRequires: python3-devel A tiny library to facilitate visitor. In fact, it is so small, you may just be better off copy and pasting the source straight into your project... -%package -n python2-%{pypi_name} -Summary: A tiny pythonic visitor implementation -%{?python_provide:%python_provide python2-%{pypi_name}} - -%description -n python2-%{pypi_name} -A tiny library to facilitate visitor. In fact, it is so small, you may just -be better off copy and pasting the source straight into your project... - %package -n python3-%{pypi_name} Summary: A tiny pythonic visitor implementation %{?python_provide:%python_provide python3-%{pypi_name}} @@ -41,18 +30,10 @@ be better off copy and pasting the source straight into your project... rm -rf %{pypi_name}.egg-info %build -%py2_build %py3_build %install %py3_install -%py2_install - -%files -n python2-%{pypi_name} -%license LICENSE -%doc README.rst -%{python2_sitelib}/%{pypi_name} -%{python2_sitelib}/%{pypi_name}-%{version}-py*egg-info %files -n python3-%{pypi_name} %license LICENSE @@ -61,6 +42,10 @@ rm -rf %{pypi_name}.egg-info %{python3_sitelib}/%{pypi_name}-%{version}-py*egg-info %changelog +* Fri Jan 04 2019 Miro HronĨok - 0.1.3-9 +- Subpackage python2-visitor has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 0.1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild