1
0

- Fix shebang of the script to use the explicit version of Python

(bsc#1212476).

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=340
This commit is contained in:
Dirk Mueller 2024-06-29 20:24:54 +00:00 committed by Git OBS Bridge
parent e4d1f04a95
commit 3b9f0d48a1
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 14 18:33:15 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Fix shebang of the script to use the explicit version of Python
(bsc#1212476).
-------------------------------------------------------------------
Wed Feb 21 10:47:59 UTC 2024 - Adrian Schröter <adrian@suse.de>

View File

@ -261,6 +261,9 @@ source artefacts (.dsc, .origin.tar.gz and .debian.tar.gz if non-native).
%install
%if %{without obs_scm_testsuite}
make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" SYSCFG="%{_sysconfdir}" PYTHON="%{python_path}" WITH_GBP="%{enable_gbp}"
# Doing %%python3_fix_shebang_path old fashioned way for the backward compatibility
sed -i "1s@#\\!.*python\S*@#\\!$(realpath %__python3)@" \
%{buildroot}%{_prefix}/lib/obs/service/tar_scm
%else