diff --git a/rpmlint.spec b/rpmlint.spec index be6ffcd..efb168b 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -25,8 +25,6 @@ Requires: /usr/bin/appstream-util # tests BuildRequires: /usr/bin/appstream-util BuildRequires: %{py3_dist pytest} -BuildRequires: %{py3_dist pytest-cov} -BuildRequires: %{py3_dist pytest-flake8} BuildRequires: %{py3_dist pytest-xdist} BuildRequires: %{py3_dist pyenchant} BuildRequires: %{py3_dist file-magic} @@ -39,6 +37,8 @@ and source packages as well as spec files can be checked. %prep %setup -q -n %{name}-%{version} +# Don't lint the code or measure coverage in %%check +sed -i -e 's/ --cov=rpmlint//' -e 's/ --flake8//' setup.cfg %build %py3_build