diff --git a/python-pytest-cov.spec b/python-pytest-cov.spec index b5f625f88cb880cb8b052fe60a029a9948a99f29..cd29fa09eb914174e8bb5b7aefeed63be3c1a899 100644 --- a/python-pytest-cov.spec +++ b/python-pytest-cov.spec @@ -2,7 +2,7 @@ Name: python-pytest-cov Version: 4.1.0 -Release: 1 +Release: 2 Summary: Pytest plugin for measuring coverage License: MIT URL: https://pypi.org/project/pytest-cov/ @@ -10,6 +10,12 @@ Source0: https://files.pythonhosted.org/packages/61/41/e04652684997255592 BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + %description This plugin produces coverage reports. Compared to just using coverage run this plugin does some extras: * Subprocess support: you can fork or run stuff in a subprocess and will get covered without any fuss. @@ -43,10 +49,10 @@ or through coverage’s config file. %autosetup -n pytest-cov-4.1.0 -p1 %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install %check %if %{with test} @@ -58,6 +64,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version} %{python3_sitelib}/* %changelog +* Wed Jul 12 2023 luluoc - 4.1.0-2 +- change py3 to pyproject + * Fri Jun 9 2023 chaozhangm - 4.1.0-1 - update to 4.1.0