![](https://seccdn.libravatar.org/avatar/128a7b98d536a9cf9b4d4d5a90d63475.jpg?s=120&d=mm&r=g)
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package git for openSUSE:Factory checked in at 2024-06-04 12:50:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/git (Old) and /work/SRC/openSUSE:Factory/.git.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "git" Tue Jun 4 12:50:56 2024 rev:312 rq:1178128 version:2.45.2 Changes: -------- --- /work/SRC/openSUSE:Factory/git/git.changes 2024-05-16 17:13:55.485202753 +0200 +++ /work/SRC/openSUSE:Factory/.git.new.24587/git.changes 2024-06-04 12:51:29.944627712 +0200 @@ -1,0 +2,24 @@ +Fri May 31 22:57:33 UTC 2024 - Matej Cepl <mcepl@cepl.eu> + +- Compat stub for %python3_fix_shebang_path + +------------------------------------------------------------------- +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> + +- update to 2.45.2: + * Revert "defense in depth" fixes from 2.45.1 broke 'git lfs' and + 'git annex' + +------------------------------------------------------------------- +Mon May 27 10:12:52 UTC 2024 - Matej Cepl <mcepl@cepl.eu> + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang_path macro, [bsc#1212476] + +------------------------------------------------------------------- Old: ---- git-2.45.1.tar.sign git-2.45.1.tar.xz New: ---- git-2.45.2.tar.sign git-2.45.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ git.spec ++++++ --- /var/tmp/diff_new_pack.gZvXiR/_old 2024-06-04 12:51:31.140671114 +0200 +++ /var/tmp/diff_new_pack.gZvXiR/_new 2024-06-04 12:51:31.144671259 +0200 @@ -28,6 +28,13 @@ %if ! %{defined _fillupdir} %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif +# Compat stub for python3_fix_shebang_path +%{?!python3_fix_shebang_path:%define python3_fix_shebang_path(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-=) \\\ + myargs="%{**}" \ + for f in ${myargs}; do \ + [ -f "$f" ] && sed -i -e "1s@#\\!.*python.*@#\\!$(realpath %__python3)@" $f \ + done + } %bcond_without git_libsecret %bcond_without docs %if 0%{?suse_version} >= 1500 && %{with docs} @@ -36,7 +43,7 @@ %bcond_with asciidoctor %endif Name: git -Version: 2.45.1 +Version: 2.45.2 Release: 0 Summary: Fast, scalable, distributed revision control system License: GPL-2.0-only @@ -70,6 +77,8 @@ BuildRequires: perl-Error BuildRequires: perl-MailTools BuildRequires: pkgconfig +# for the %%python3_fix_shebang_path macro +BuildRequires: python-rpm-macros BuildRequires: python3-base BuildRequires: systemd-rpm-macros BuildRequires: tcsh @@ -443,6 +452,12 @@ %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} ++++++ git-2.45.1.tar.xz -> git-2.45.2.tar.xz ++++++ /work/SRC/openSUSE:Factory/git/git-2.45.1.tar.xz /work/SRC/openSUSE:Factory/.git.new.24587/git-2.45.2.tar.xz differ: char 15, line 1