From 59eb716d7e43a78a96415b24aa56851b97ae6759 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Aug 09 2019 22:59:58 +0000 Subject: Remove Python 2 subpackages (#1739658) --- diff --git a/python-pytest-forked.spec b/python-pytest-forked.spec index 7ccf875..b551090 100644 --- a/python-pytest-forked.spec +++ b/python-pytest-forked.spec @@ -6,7 +6,7 @@ C++ libraries that might crash the process. To use the plugin, simply use the\ Name: python-%{pypi_name} Version: 1.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: py.test plugin for running tests in isolated forked subprocesses License: MIT @@ -14,21 +14,12 @@ URL: https://github.com/pytest-dev/pytest-forked Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel python3-devel -BuildRequires: python2-py python2-pytest python2-setuptools_scm +BuildRequires: python3-devel BuildRequires: python3-py python3-pytest python3-setuptools_scm %description %{desc} -%package -n python2-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{pypi_name}} - -Requires: python2-py python2-pytest -%description -n python2-%{pypi_name} -%{desc} - %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} @@ -43,29 +34,24 @@ rm -f testing/conftest.pyc rm -rf testing/__pycache__ %build -%py2_build %py3_build %install -%py2_install %py3_install %check -PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} testing PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} testing -%files -n python2-%{pypi_name} -%doc example/boxed.txt README.rst -%license LICENSE -%{python2_sitelib}/pytest_forked* - %files -n python3-%{pypi_name} %doc example/boxed.txt README.rst %license LICENSE %{python3_sitelib}/pytest_forked* %changelog +* Fri Aug 09 2019 Scott Talbert - 1.0.2-3 +- Remove Python 2 subpackages (#1739658) + * Fri Jul 26 2019 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild