| |
@@ -132,16 +132,6 @@
|
| |
# Tracked at https://bugzilla.redhat.com/show_bug.cgi?id=1724753
|
| |
%global source_date_epoch_from_changelog 0
|
| |
|
| |
- # For multilib support, files that are different between 32- and 64-bit arches
|
| |
- # need different filenames. Use "64" or "32" according to the word size.
|
| |
- # Currently, the best way to determine an architecture's word size happens to
|
| |
- # be checking %%{_lib}.
|
| |
- %if "%{_lib}" == "lib64"
|
| |
- %global wordsize 64
|
| |
- %else
|
| |
- %global wordsize 32
|
| |
- %endif
|
| |
-
|
| |
|
| |
# =======================
|
| |
# Build-time requirements
|
| |
@@ -786,7 +776,7 @@
|
| |
# Filanames are defined here:
|
| |
%global _pyconfig32_h pyconfig-32.h
|
| |
%global _pyconfig64_h pyconfig-64.h
|
| |
- %global _pyconfig_h pyconfig-%{wordsize}.h
|
| |
+ %global _pyconfig_h pyconfig-%{__isa_bits}.h
|
| |
|
| |
# Use a common function to do an install for all our configurations:
|
| |
InstallPython() {
|
| |
The assumption to rely on %%{_lib} as lib64 where wordsize is 64bit is
wrong on aarch64 and ppc64le where wordsize is 64bit and lib is used.
Signed-off-by: Nicolas Chauvet kwizart@gmail.com