diff --git a/git.changes b/git.changes index 33e3f5e..580229a 100644 --- a/git.changes +++ b/git.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 31 22:42:57 UTC 2024 - Marcus Rueckert + +- 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 diff --git a/git.spec b/git.spec index f729548..b437467 100644 --- a/git.spec +++ b/git.spec @@ -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}