diff --git a/git.changes b/git.changes index ebbaf16..de1615e 100644 --- a/git.changes +++ b/git.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 27 10:12:52 UTC 2024 - Matej Cepl + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang_path macro, [bsc#1212476] + ------------------------------------------------------------------- Tue May 14 22:38:09 UTC 2024 - Andreas Stieger diff --git a/git.spec b/git.spec index 046a4c7..a7619c7 100644 --- a/git.spec +++ b/git.spec @@ -71,6 +71,8 @@ BuildRequires: perl-Error BuildRequires: perl-MailTools BuildRequires: pkgconfig BuildRequires: python3-base +# for the %%python3_fix_shebang_path macro +BuildRequires: python-rpm-macros BuildRequires: systemd-rpm-macros BuildRequires: tcsh BuildRequires: update-desktop-files @@ -443,6 +445,10 @@ install -m 0644 %{SOURCE11} %{buildroot}%{_sysusersdir}/ %find_lang %{name} cat %{name}.lang >>bin-man-doc-files + +# fix shebang for git-p4 (and possibly others) +%python3_fix_shebang_path %{buildroot}%{gitexecdir}/* + # use symlinks instead of hardlinks in sub-commands %fdupes -s %{buildroot}