forked from pool/python-python-for-android
Accepting request 983631 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/983631 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-for-android?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 17 13:29:45 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Properly fix shebangs to inject path to python interpreter.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 15 01:29:33 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
Sun Nov 15 01:29:33 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-for-android
|
# spec file for package python-python-for-android
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -95,7 +95,7 @@ sed -i "s/'pep517.',/'pep517',/" setup.py
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/p4a
|
%python_clone -a %{buildroot}%{_bindir}/p4a
|
||||||
%{python_expand rm -r %{buildroot}%{$python_sitelib}/ci/ %{buildroot}%{$python_sitelib}/tests/
|
%{python_expand rm -r %{buildroot}%{$python_sitelib}/ci/ %{buildroot}%{$python_sitelib}/tests/
|
||||||
|
|
||||||
sed -i "1{s:#!.*$:#!%{_bindir}/$python:}" \
|
sed -i "1{s:#!.*$:#!%{_bindir}/python%{$python_bin_suffix}:}" \
|
||||||
%{buildroot}%{$python_sitelib}/pythonforandroid/tools/*link \
|
%{buildroot}%{$python_sitelib}/pythonforandroid/tools/*link \
|
||||||
%{buildroot}%{$python_sitelib}/pythonforandroid/bootstraps/common/build/build.py \
|
%{buildroot}%{$python_sitelib}/pythonforandroid/bootstraps/common/build/build.py \
|
||||||
%{buildroot}%{$python_sitelib}/pythonforandroid/toolchain.py
|
%{buildroot}%{$python_sitelib}/pythonforandroid/toolchain.py
|
||||||
|
Reference in New Issue
Block a user