|
|
|
@ -9,8 +9,8 @@
|
|
|
|
|
%global srcname pytest-cov
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 2.3.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 2.4.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Pytest plugin for coverage reporting
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -36,19 +36,19 @@ distributed testing, including subprocesses and multiprocessing for Python 2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{srcname}
|
|
|
|
|
Summary: Pytest plugin for coverage reporting
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-coverage >= 3.7.1
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-coverage >= 3.7.1
|
|
|
|
|
# For tests
|
|
|
|
|
BuildRequires: python3-process-tests
|
|
|
|
|
BuildRequires: python3-virtualenv
|
|
|
|
|
Requires: python3-pytest
|
|
|
|
|
Requires: python3-coverage >= 3.7.1
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-process-tests
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-virtualenv
|
|
|
|
|
Requires: python%{python3_pkgversion}-pytest
|
|
|
|
|
Requires: python%{python3_pkgversion}-coverage >= 3.7.1
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{srcname}
|
|
|
|
|
%description -n python%{python3_pkgversion}-%{srcname}
|
|
|
|
|
Py.test plugin for coverage reporting with support for both centralised and
|
|
|
|
|
distributed testing, including subprocesses and multiprocessing for Python 3.
|
|
|
|
|
%endif # with_python3
|
|
|
|
@ -88,7 +88,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version}
|
|
|
|
|
%{python2_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
|
%files -n python%{python3_pkgversion}-%{srcname}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
@ -96,6 +96,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Oct 10 2016 Orion Poplawski <orion@cora.nwra.com> - 2.4.0-1
|
|
|
|
|
- Update to 2.4.0
|
|
|
|
|
|
|
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-2
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
|
|
|
|
|