diff --git a/python-utils.spec b/python-utils.spec index 86b1e85..f4b97ba 100644 --- a/python-utils.spec +++ b/python-utils.spec @@ -17,10 +17,6 @@ BuildRequires: python3-pytest-runner BuildRequires: python3-pytest BuildRequires: python3-setuptools BuildRequires: python3-six -BuildRequires: python3-flake8 -BuildRequires: python3-pytest-cov -BuildRequires: python3-pytest-flakes -BuildRequires: python3-pytest-pep8 BuildRequires: python3-sphinx %?python_enable_dependency_generator @@ -50,6 +46,9 @@ rm -rf %{name}.egg-info # 2.3.0 tarball has 2.2.0 in metadata sed -i 's/2.2.0/%{version}/' python_utils/__about__.py +# Stop linting code in %%check and measuring coverage, this is upstream's business +sed -Ei '/--(cov|pep8|flakes)/d' pytest.ini + %build %py3_build # generate html docs