Fix py3_abiflags macro error sandbox/dh0128.kwak/python-3.9.1_20201209 accepted/tizen/base/tool/20210110.213415 submit/tizen_base/20201230.222049 submit/tizen_base/20201230.222053 submit/tizen_base/20210104.221845 submit/tizen_base/20210104.221847 submit/tizen_base/20210106.042821 submit/tizen_base/20210106.042824
authorDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 28 Dec 2020 07:15:14 +0000 (16:15 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 30 Dec 2020 22:17:16 +0000 (07:17 +0900)
error: Macro %py3_abiflags has empty body

Change-Id: I5939c59dc36248ce0cce068c5dad1701ecf710bc

configure.ac
packaging/python3-base.spec
packaging/python3.spec

index c968d149c22d44fffb0c7378ae114dd656992379..789df36e5490a4a2660f9325d3592312156a4574 100644 (file)
@@ -3548,6 +3548,7 @@ if test "$with_pymalloc" != "no"
 then
     AC_DEFINE(WITH_PYMALLOC, 1,
      [Define if you want to compile in Python-specific mallocs])
+    ABIFLAGS="${ABIFLAGS}m"
 fi
 AC_MSG_RESULT($with_pymalloc)
 
index 243d9164c80326dedceb4691ea1f2eb5f2b6c2f8..9dc739b94559899a87e06f0816bc701b941a24d3 100644 (file)
@@ -34,7 +34,7 @@
 %define         sitedir         %{_libdir}/python%{python_version}
 
 # three possible ABI kinds: m - pymalloc, d - debug build; see PEP 3149
-%define         abi_kind   %{nil}
+%define         abi_kind   m
 # python ABI version - used in some file names
 %define         python_abi %{python_version}%{abi_kind}
 # soname ABI tag defined in PEP 3149
index 1e54dcc1dc8ec61c2c1b486de7a1491b434eeae0..d22f22585ae1426a12459c3aa16a5067cc32b41d 100644 (file)
@@ -33,7 +33,7 @@
 %define         sitedir         %{_libdir}/python%{python_version}
 
 # three possible ABI kinds: m - pymalloc, d - debug build; see PEP 3149
-%define         abi_kind   %{nil}
+%define         abi_kind   m
 # python ABI version - used in some file names
 %define         python_abi %{python_version}%{abi_kind}
 # soname ABI tag defined in PEP 3149