diff --git a/python-pytest-runner.spec b/python-pytest-runner.spec index 5650cd7..ab4a8b1 100644 --- a/python-pytest-runner.spec +++ b/python-pytest-runner.spec @@ -3,7 +3,7 @@ Name: python-%{modulename} Version: 4.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Invoke py.test as distutils command with dependency resolution License: MIT @@ -18,19 +18,6 @@ Setup scripts can use pytest-runner to add setup.py test support for pytest runn %description %{_description} -%package -n python2-%{modulename} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{modulename}} -Requires: python2-pytest -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-setuptools_scm -BuildRequires: python2-pytest - -%description -n python2-%{modulename} %{_description} - -Python 2 version. - %package -n python3-%{modulename} Summary: %{summary} %{?python_provide:%python_provide python3-%{modulename}} @@ -48,23 +35,14 @@ Python 3 version. %autosetup -n %{modulename}-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-%{modulename} -%doc README.rst -%license LICENSE -%{python2_sitelib}/ptr.py* -%{python2_sitelib}/%{_modulename}-%{version}-py%{python2_version}.egg-info/ - %files -n python3-%{modulename} %doc README.rst %license LICENSE @@ -73,6 +51,10 @@ Python 3 version. %{python3_sitelib}/__pycache__/ptr.* %changelog +* Tue Oct 29 2019 Miro Hrončok - 4.0-8 +- Subpackage python2-pytest-runner has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Thu Oct 03 2019 Miro Hrončok - 4.0-7 - Rebuilt for Python 3.8.0rc1 (#1748018)