Revert to 2.6.0 and bump epoch to handle older pytest in RHEL8.0

Enable python dependency generator
epel8
Orion Poplawski 6 years ago
parent 07707bd5fe
commit ddcf2c6e3c

@ -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

@ -1 +1 @@
SHA512 (pytest-cov-2.7.1.tar.gz) = bb2bc5be49b3c2f56a36b6396d6b1a6734e86fb0bf1c2ef29bf8dbc95dcb9364c6deb1525529d46f4ec0ffa6899ef0e94b5f76e5ed892b0a092e69ad6c6e080e
SHA512 (pytest-cov-2.6.0.tar.gz) = e77f411d1b82cad561ad2894327f56997e264e3f58e57ceaa50e0621df013c16de42e0cab122375662129e9d5f6066d12778a80db5de57b3e1e4ef8540ddc632

Loading…
Cancel
Save