Accepting request 1163324 from home:ecsos:python
- Fix build error in Leap. OBS-URL: https://build.opensuse.org/request/show/1163324 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-debugpy?expand=0&rev=33
This commit is contained in:
parent
b117302b64
commit
40dd90c9b6
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 12:55:24 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Fix build error in Leap.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 15 16:18:57 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
@ -82,7 +82,7 @@ rm -r src/debugpy/_vendored
|
||||
cp -r src/debugpy/_vendored_clean src/debugpy/_vendored
|
||||
pushd src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/
|
||||
# see /src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py::get_target_filename
|
||||
pyarch=$(python3 -c 'import platform; print(platform.machine())')
|
||||
%{python_expand pyarch=$($python -c 'import platform; print(platform.machine())')}
|
||||
g++ %{optflags} -shared -o ../attach_${pyarch}.so -fPIC -nostartfiles attach.cpp
|
||||
# if on intel architectures, use the default upstream names
|
||||
%ifarch x86_64
|
||||
|
Loading…
x
Reference in New Issue
Block a user