Accepting request 1089783 from home:Andreas_Schwab:Factory
- python-2.7.5-multilib.patch: Update for riscv64 - Don't fail if _ctypes or dl extension was not built OBS-URL: https://build.opensuse.org/request/show/1089783 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=364
This commit is contained in:
parent
352049f843
commit
78634bafca
@ -375,7 +375,7 @@
|
||||
+esac
|
||||
+
|
||||
+case $ARCH:$python_cv_cc_64bit_output in
|
||||
+aarch64:yes | ppc64:yes | ppc64le:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
|
||||
+aarch64:yes | ppc64:yes | ppc64le:yes | powerpc64:yes | riscv64:yes | s390x:yes | sparc64:yes | x86_64:yes)
|
||||
+ LIB="lib64"
|
||||
+ ;;
|
||||
+*:*)
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 30 10:43:13 UTC 2023 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- python-2.7.5-multilib.patch: Update for riscv64
|
||||
- Don't fail if _ctypes or dl extension was not built
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 29 18:49:40 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -585,7 +585,7 @@ cp Makefile Makefile.pre.in Makefile.pre %{buildroot}%{_libdir}/python%{python_v
|
||||
%{_libdir}/python%{python_version}/lib-dynload/_multibytecodec.so
|
||||
%{_libdir}/python%{python_version}/lib-dynload/Python-%{tarversion}-py%{python_version}.egg-info
|
||||
# these modules don't support 64-bit arches (disabled by setup.py)
|
||||
%ifnarch alpha ia64 x86_64 s390x ppc64 ppc64le sparc64 aarch64
|
||||
%ifnarch alpha ia64 x86_64 s390x ppc64 ppc64le sparc64 aarch64 riscv64
|
||||
# requires sizeof(int) == sizeof(long) == sizeof(char*)
|
||||
%{_libdir}/python%{python_version}/lib-dynload/dl.so
|
||||
%endif
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 30 10:43:13 UTC 2023 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- python-2.7.5-multilib.patch: Update for riscv64
|
||||
- Don't fail if _ctypes or dl extension was not built
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 29 18:49:40 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 30 10:43:13 UTC 2023 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- python-2.7.5-multilib.patch: Update for riscv64
|
||||
- Don't fail if _ctypes or dl extension was not built
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 29 18:49:40 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -460,7 +460,7 @@ rm %{buildroot}%{_libdir}/python%{python_version}/site-packages/README
|
||||
rm %{buildroot}%{_libdir}/python%{python_version}/lib-dynload/_bisect.so
|
||||
rm %{buildroot}%{_libdir}/python%{python_version}/lib-dynload/_csv.so
|
||||
rm %{buildroot}%{_libdir}/python%{python_version}/lib-dynload/_collections.so
|
||||
rm %{buildroot}%{_libdir}/python%{python_version}/lib-dynload/_ctypes.so
|
||||
rm -f %{buildroot}%{_libdir}/python%{python_version}/lib-dynload/_ctypes.so
|
||||
rm %{buildroot}%{_libdir}/python%{python_version}/lib-dynload/_ctypes_test.so
|
||||
rm %{buildroot}%{_libdir}/python%{python_version}/lib-dynload/_elementtree.so
|
||||
rm %{buildroot}%{_libdir}/python%{python_version}/lib-dynload/_functools.so
|
||||
|
Loading…
Reference in New Issue
Block a user