Accepting request 1177110 from home:mcepl:branches:devel:tools:scm

- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang_path macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1177110
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/git?expand=0&rev=645
This commit is contained in:
Danilo Spinella 2024-05-31 07:32:52 +00:00 committed by Git OBS Bridge
parent 608a98b3ca
commit 84f19fcaec
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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]
-------------------------------------------------------------------
Tue May 14 22:38:09 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -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}