From 003f563037f89f0d54bcf24852af83519f759313 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sat, 2 Dec 2023 23:07:05 -0500 Subject: [PATCH] Always disable test coverage checks Coverage checkers should not be run when building Fedora or RHEL packages: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters --- python-rpmautospec-core.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-rpmautospec-core.spec b/python-rpmautospec-core.spec index 18031d4..168369f 100644 --- a/python-rpmautospec-core.spec +++ b/python-rpmautospec-core.spec @@ -1,9 +1,8 @@ +%bcond_with testcoverage %if ! 0%{?rhel} || 0%{?rhel} >= 10 -%bcond_without testcoverage %bcond_without pyproject_build %bcond_without genbrs %else -%bcond_with testcoverage %bcond_with pyproject_build %bcond_with genbrs %endif