1
0
Dominique Leuenberger 2024-07-01 09:19:23 +00:00 committed by Git OBS Bridge
commit 6c3ec79ad2
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