Accepting request 1178014 from home:mcepl:branches:devel:tools:scm
- Compat stub for %python3_fix_shebang_path OBS-URL: https://build.opensuse.org/request/show/1178014 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/git?expand=0&rev=648
This commit is contained in:
parent
96f58b36fc
commit
26739b1f72
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri May 31 22:42:57 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
7
git.spec
7
git.spec
@ -28,6 +28,13 @@
|
|||||||
%if ! %{defined _fillupdir}
|
%if ! %{defined _fillupdir}
|
||||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
%endif
|
%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 git_libsecret
|
||||||
%bcond_without docs
|
%bcond_without docs
|
||||||
%if 0%{?suse_version} >= 1500 && %{with docs}
|
%if 0%{?suse_version} >= 1500 && %{with docs}
|
||||||
|
Loading…
Reference in New Issue
Block a user