diff --git a/python-pytest-cov.spec b/python-pytest-cov.spec index cd29fa09eb914174e8bb5b7aefeed63be3c1a899..e3804eaa30f0fdcf85a0ac5a474eadf8b387c814 100644 --- a/python-pytest-cov.spec +++ b/python-pytest-cov.spec @@ -2,7 +2,7 @@ Name: python-pytest-cov Version: 4.1.0 -Release: 2 +Release: 3 Summary: Pytest plugin for measuring coverage License: MIT URL: https://pypi.org/project/pytest-cov/ @@ -15,6 +15,9 @@ BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling +BuildRequires: python3-virtualenv +BuildRequires: python3-pytest-xdist +BuildRequires: python3-fields %description This plugin produces coverage reports. Compared to just using coverage run this plugin does some extras: @@ -55,15 +58,17 @@ or through coverage’s config file. %pyproject_install %check -%if %{with test} -PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version} -vv || : -%endif +%pytest + %files -n python3-pytest-cov %doc AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst LICENSE %{python3_sitelib}/* %changelog +* Fri Sep 1 2023 luluoc - 4.1.0-3 +- Add check to pytest + * Wed Jul 12 2023 luluoc - 4.1.0-2 - change py3 to pyproject