Accepting request 1078426 from home:Guillaume_G:branches:science:machinelearning

- More fixes to use python3 as the python script interpreter

OBS-URL: https://build.opensuse.org/request/show/1078426
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/ComputeLibrary?expand=0&rev=38
This commit is contained in:
Guillaume GARDET 2023-04-11 13:08:38 +00:00 committed by Git OBS Bridge
parent 14a3f70820
commit 03ca7d6861
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 11 12:15:38 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- More fixes to use python3 as the python script interpreter
-------------------------------------------------------------------
Wed Apr 5 06:08:28 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -137,6 +137,7 @@ 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
sed -i -e 's|#!%{_bindir}/python|#!%{_bindir}/python3|' %{buildroot}%{_bindir}/generate_build_files.py
%post -n libarm_compute%{so_ver} -p /sbin/ldconfig
%postun -n libarm_compute%{so_ver} -p /sbin/ldconfig