From 05403d69eba891a2e624c7f07555b179c3d5af5c150b4204ba32a6f8e9eaba79 Mon Sep 17 00:00:00 2001 From: Guillaume GARDET Date: Wed, 29 Mar 2023 07:03:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/ComputeLibrary?expand=0&rev=36 --- ComputeLibrary.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ComputeLibrary.spec b/ComputeLibrary.spec index e323ced..5002ead 100644 --- a/ComputeLibrary.spec +++ b/ComputeLibrary.spec @@ -134,6 +134,7 @@ install -Dm0755 scripts/* %{buildroot}%{_bindir} rm -f %{buildroot}%{_bindir}/*.h # Fix Python scripts interpreter for pyfile in `ls %{buildroot}%{_bindir}/*.py`; do + sed -i -e 's|#!%{_bindir}/env python3|#!%{_bindir}/python3|' $pyfile sed -i -e 's|#!%{_bindir}/env python|#!%{_bindir}/python3|' $pyfile done