]> git.pld-linux.org Git - packages/python3.git/commitdiff
adjust abi in python platform for armhf
authorJan Palus <atler@pld-linux.org>
Sun, 29 Nov 2020 11:49:53 +0000 (12:49 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 29 Nov 2020 11:49:53 +0000 (12:49 +0100)
python3.spec

index ac746e6274e243c20df34ab74296043fef165a51..28b9464ca871bfa3e47d95e680fa87c2ec19bf2e 100644 (file)
 %endif
 %define                broken_tests    -x test_embed -x test_nntplib -x test_gdb -x test_site -x test_distutils -x test_bdist_rpm -x test_ssl %{?broken_tests_x32}
 
+%ifarch armv6hl armv7hl armv7hnl
+%define                _python_target_abi      %{?_gnu}hf
+%else
+%define                _python_target_abi      %{?_gnu}
+%endif
+
 %define py_ver         3.9
 %define py_abi         %{py_ver}
-%define        py_platform     %{py_abi}-%{_target_base_arch}-%{_target_os}%{?_gnu}
+%define        py_platform     %{py_abi}-%{_target_base_arch}-%{_target_os}%{?_python_target_abi}
 %define py_prefix      %{_prefix}
 %define py_libdir      %{py_prefix}/%{_lib}/python%{py_ver}
 %define py_incdir      %{_includedir}/python%{py_abi}
This page took 0.202845 seconds and 4 git commands to generate.