Accepting request 1178001 from home:darix:apps

- only call the %python3_fix_shebang_path if it is actually
  defined. This fixes the build on 15.x

OBS-URL: https://build.opensuse.org/request/show/1178001
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/git?expand=0&rev=647
This commit is contained in:
Marcus Rückert 2024-06-01 14:59:36 +00:00 committed by Git OBS Bridge
parent 231671a7e8
commit 96f58b36fc
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 31 22:42:57 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- only call the %python3_fix_shebang_path if it is actually
defined. This fixes the build on 15.x
-------------------------------------------------------------------
Fri May 31 21:04:34 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -446,8 +446,10 @@ install -m 0644 %{SOURCE11} %{buildroot}%{_sysusersdir}/
%find_lang %{name}
cat %{name}.lang >>bin-man-doc-files
%if %{defined python3_fix_shebang_path}
# fix shebang for git-p4 (and possibly others)
%python3_fix_shebang_path %{buildroot}%{gitexecdir}/*
%endif
# use symlinks instead of hardlinks in sub-commands
%fdupes -s %{buildroot}