From 1fc8a1806ea7d5d206ec1a959d99b2027738a063 Mon Sep 17 00:00:00 2001 From: chedi Date: Thu, 13 Jan 2022 23:33:56 +0100 Subject: [PATCH] disabling checks in epel9 --- python-pytest-cov.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python-pytest-cov.spec b/python-pytest-cov.spec index decbdaf..90bd22d 100644 --- a/python-pytest-cov.spec +++ b/python-pytest-cov.spec @@ -47,7 +47,12 @@ Summary: %{summary} sed -r -i '/^[[:blank:]]*.hunter.,[[:blank:]]*$/d' setup.py %generate_buildrequires + +%if 0%{?rhel} >= 9 +%pyproject_buildrequires +%else %pyproject_buildrequires -x testing +%endif %build @@ -59,6 +64,9 @@ sed -r -i '/^[[:blank:]]*.hunter.,[[:blank:]]*$/d' setup.py %pyproject_save_files pytest_cov +%if 0%{?rhel} >= 9 +echo "disabling tests in epel until all the dependencies are satisfied" +%else %check k="$(awk 'NR>1 {pre=" and " } { printf "%snot %s", pre, $0 }' <