From 6dd5cb570cd1a23abb6cf839fcc049bb1a2469f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Wed, 10 Nov 2021 09:14:11 +0100 Subject: [PATCH] Use %py3_shebang_fix macro --- compiler-rt.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler-rt.spec b/compiler-rt.spec index e62e2e3..961455f 100644 --- a/compiler-rt.spec +++ b/compiler-rt.spec @@ -28,7 +28,7 @@ BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: ninja-build BuildRequires: python3 -# We need python3-devel for pathfix.py. +# We need python3-devel for %%py3_shebang_fix BuildRequires: python3-devel BuildRequires: llvm-devel = %{version} @@ -47,7 +47,7 @@ instrumentation, and Blocks C language extension. %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -n %{crt_srcdir} -p2 -pathfix.py -i %{__python3} -pn lib/hwasan/scripts/hwasan_symbolize +%py3_shebang_fix lib/hwasan/scripts/hwasan_symbolize %build %cmake -GNinja \