forked from pool/python38
Accepting request 840459 from home:dimstar:Factory
- Fix build with RPM 4.16: error: bare words are no longer supported, please use "...": x86 == ppc. OBS-URL: https://build.opensuse.org/request/show/840459 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=32
This commit is contained in:
parent
4919d1c0ae
commit
b0678855e5
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 9 16:05:50 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Fix build with RPM 4.16: error: bare words are no longer
|
||||||
|
supported, please use "...": x86 == ppc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 25 06:58:03 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
Fri Sep 25 06:58:03 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -66,13 +66,13 @@
|
|||||||
%define so_minor 0
|
%define so_minor 0
|
||||||
%define so_version %{python_version_soname}%{abi_kind}-%{so_major}_%{so_minor}
|
%define so_version %{python_version_soname}%{abi_kind}-%{so_major}_%{so_minor}
|
||||||
# rpm and python have different ideas about what is an arch-dependent name, so:
|
# rpm and python have different ideas about what is an arch-dependent name, so:
|
||||||
%if %{__isa_name} == ppc
|
%if "%{__isa_name}" == "ppc"
|
||||||
%define archname %(echo %{_arch} | sed s/ppc/powerpc/)
|
%define archname %(echo %{_arch} | sed s/ppc/powerpc/)
|
||||||
%else
|
%else
|
||||||
%define archname %{_arch}
|
%define archname %{_arch}
|
||||||
%endif
|
%endif
|
||||||
# our arm has Hardware-Floatingpoint
|
# our arm has Hardware-Floatingpoint
|
||||||
%if %{_arch} == arm
|
%if "%{_arch}" == "arm"
|
||||||
%define armsuffix hf
|
%define armsuffix hf
|
||||||
%endif
|
%endif
|
||||||
# pyexpat.cpython-35m-x86_64-linux-gnu
|
# pyexpat.cpython-35m-x86_64-linux-gnu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user