|
|
|
@ -1,9 +1,11 @@
|
|
|
|
|
%?python_enable_dependency_generator
|
|
|
|
|
%global srcname pytest-cov
|
|
|
|
|
%global with_tests 0
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 2.7.1
|
|
|
|
|
Release: 2%{?dist}.1
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 2.6.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Pytest plugin for coverage reporting
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -24,7 +26,7 @@ BuildRequires: python2-setuptools
|
|
|
|
|
%if 0%{?with_tests}
|
|
|
|
|
# For tests
|
|
|
|
|
# Not packaged: python2-fields
|
|
|
|
|
#BuildRequires: python2-pytest
|
|
|
|
|
#BuildRequires: python2-pytest >= 2.9
|
|
|
|
|
#BuildRequires: python2-coverage >= 4.4
|
|
|
|
|
#BuildRequires: python2-fields
|
|
|
|
|
#BuildRequires: python2-process-tests
|
|
|
|
@ -43,7 +45,7 @@ distributed testing, including subprocesses and multiprocessing for Python 2.
|
|
|
|
|
Summary: Pytest plugin for coverage reporting
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pytest >= 2.9
|
|
|
|
|
BuildRequires: python3.6dist(coverage) >= 4.4
|
|
|
|
|
%if 0%{?with_tests}
|
|
|
|
|
# For tests
|
|
|
|
@ -103,6 +105,10 @@ py.test-%{python3_version} -vv \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Aug 16 2019 Orion Poplawski <orion@nwra.com> - 1:2.6.0-1
|
|
|
|
|
- Revert to 2.6.0 and bump epoch to handle older pytest in RHEL8.0
|
|
|
|
|
- Enable python dependency generator
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Stephen Smoogen <smooge@fedoraproject.org> - 2.7.1-2.1
|
|
|
|
|
- Try to use platform-python3-coverage
|
|
|
|
|
|
|
|
|
|