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