diff --git a/python-portend.spec b/python-portend.spec index 6f1c354..9a38b9f 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -23,7 +23,6 @@ Summary: portend documentation BuildRequires: python3-devel BuildRequires: python3dist(jaraco.functools) BuildRequires: python3dist(pytest) >= 3.4 -BuildRequires: python3dist(pytest-cov) #BuildRequires: python3dist(pytest-sugar) >= 0.9.1 BuildRequires: python3dist(setuptools) BuildRequires: python3dist(setuptools-scm) >= 1.15 @@ -58,6 +57,10 @@ sed -i '/^addopts=--flake8$/d' pyproject.toml sed -i '/pytest-flake8/d' setup.cfg rm .flake8 +# skip test coverage metrics +sed -i '/^addopts = "--cov"$/d' pyproject.toml +sed -i '/pytest-cov/d' setup.cfg + %build %py3_build