@ -1,15 +1,8 @@
%?python_enable_dependency_generator
%global srcname pytest-cov
%global srcname pytest-cov
%if 0%{?fedora} >= 32
%bcond_with python2
%else
%bcond_without python2
%endif
Name: python-%{srcname}
Name: python-%{srcname}
Version: 2.11.1
Version: 2.11.1
Release: 5 %{?dist}
Release: 6%{?dist}
URL: https://pypi.python.org/pypi/%{srcname}
URL: https://pypi.python.org/pypi/%{srcname}
License: MIT
License: MIT
Summary: Pytest plugin for coverage reporting
Summary: Pytest plugin for coverage reporting
@ -23,21 +16,20 @@ BuildArch: noarch
Py.test plugin for coverage reporting with support for both centralised and
Py.test plugin for coverage reporting with support for both centralised and
distributed testing, including subprocesses and multiprocessing for Python.
distributed testing, including subprocesses and multiprocessing for Python.
%package -n python%{python 3_pkgversion} -%{srcname}
%package -n python3-%{srcname}
Summary: Pytest plugin for coverage reporting
Summary: Pytest plugin for coverage reporting
BuildRequires: python%{python 3_pkgversion} -devel
BuildRequires: python3-devel
BuildRequires: python%{python 3_pkgversion} -setuptools
BuildRequires: python3-setuptools
BuildRequires: python%{python 3_pkgversion} -pytest >= 3.6
BuildRequires: python3-pytest >= 3.6
BuildRequires: python%{python 3_pkgversion} -coverage >= 4.4
BuildRequires: python3-coverage >= 4.4
# For tests
# For tests
BuildRequires: python%{python3_pkgversion}-fields
BuildRequires: python3-fields
BuildRequires: python%{python3_pkgversion}-process-tests
BuildRequires: python3-process-tests
BuildRequires: python%{python3_pkgversion}-six
BuildRequires: python3-six
BuildRequires: python%{python3_pkgversion}-virtualenv
BuildRequires: python3-virtualenv
BuildRequires: python%{python3_pkgversion}-pytest-xdist
BuildRequires: python3-pytest-xdist
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
%description -n python3-%{srcname}
%description -n python%{python3_pkgversion}-%{srcname}
Py.test plugin for coverage reporting with support for both centralised and
Py.test plugin for coverage reporting with support for both centralised and
distributed testing, including subprocesses and multiprocessing for Python 3.
distributed testing, including subprocesses and multiprocessing for Python 3.
@ -57,13 +49,16 @@ export PYTHONPATH="$(pwd)"/build/lib
py.test-%{python3_version} -vv \
py.test-%{python3_version} -vv \
-k "not test_dist_missing_data and not test_subprocess_with_path_aliasing and not test_dist_combine_racecondition and not central_subprocess and not dist_subprocess"
-k "not test_dist_missing_data and not test_subprocess_with_path_aliasing and not test_dist_combine_racecondition and not central_subprocess and not dist_subprocess"
%files -n python%{python 3_pkgversion} -%{srcname}
%files -n python3-%{srcname}
%license LICENSE
%license LICENSE
%doc AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst
%doc AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst
%{python3_sitelib}/*
%{python3_sitelib}/*
%changelog
%changelog
* Wed Jul 28 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 2.11.1-6
- Drop obsolete macros
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-5
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild