From af8d20a66808f34c91bb4d954a9b65f61e7681e8 Mon Sep 17 00:00:00 2001 From: Petr Matousek Date: Tue, 26 Mar 2024 16:01:45 +0100 Subject: [PATCH] rust-clippy: avoid f-strings error on rhel-7 --- make-srpm.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/make-srpm.sh b/make-srpm.sh index f87de07..6742267 100755 --- a/make-srpm.sh +++ b/make-srpm.sh @@ -94,6 +94,9 @@ BuildRequires: help2man %if 0%{?rhel} == 7 %global python3_pkgversion 36 + +# needed for /usr/share/csmock/scripts/convert-clippy.py +%global _python_bytecompile_errors_terminate_build 0 %endif BuildRequires: python%{python3_pkgversion}-GitPython