From 251f8e97c93551b35732efa59e20af07481a690b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 13 Jan 2023 17:03:45 +0100 Subject: [PATCH] CI specs: Never use `! ...` as a check (followup) This is a followup of 6015300d34eed56148c9fe3b10ac1436d7a39181 This particular instance was not discovered before due to the macro. Related: rhbz#2168193 --- tests/python-setuptools_scm.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python-setuptools_scm.spec b/tests/python-setuptools_scm.spec index 115d138..4a3b3ed 100644 --- a/tests/python-setuptools_scm.spec +++ b/tests/python-setuptools_scm.spec @@ -62,7 +62,7 @@ Summary: %{summary} # Internal check for our macros: Assert both toxenvs were executed. grep -E 'py%{python3_version_nodots}-test: (OK|commands succeeded)' toxlog -%{?!with_flake8:! }grep -E 'flake8: (OK|commands succeeded)' toxlog +grep -E 'flake8: (OK|commands succeeded)' toxlog %{?!with_flake8:&& exit 1 || true} # Internal check for our macros # making sure that %%{_pyproject_ghost_distinfo} has the right content