From de046b8e8eaeaef99068c5d51542f4a06fd05f9caa1c16b27e5379ebff366c64 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sat, 18 Jan 2025 14:44:14 +0000 Subject: [PATCH] don't run coverage OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semver?expand=0&rev=43 --- python-semver.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-semver.spec b/python-semver.spec index 6717b9d..4b12aca 100644 --- a/python-semver.spec +++ b/python-semver.spec @@ -33,7 +33,7 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION tests -BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest} # /SECTIOn Requires(post): update-alternatives Requires(postun): update-alternatives @@ -48,7 +48,7 @@ See also http://semver.org/ %prep %setup -q -n python-semver-%{version} -sed -i '/-cov/d' setup.cfg +sed -i 's/--[^ ]*cov[^ ]*//g' .pytest.ini %build %pyproject_wheel