Skip to content

Commit 380ee8d

Browse files
committed
- up to 3.6.4
1 parent 4019723 commit 380ee8d

2 files changed

Lines changed: 11 additions & 12 deletions

File tree

‎python3-multilib.patch‎

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -337,16 +337,15 @@ diff -dur Python-3.5.0.orig/configure.ac Python-3.5.0/configure.ac
337337
diff -dur Python-3.5.0.orig/setup.py Python-3.5.0/setup.py
338338
--- Python-3.5.0.orig/setup.py 2015-09-13 13:41:26.000000000 +0200
339339
+++ Python-3.5.0/setup.py 2015-12-03 17:31:03.877613811 +0100
340-
@@ -526,8 +526,7 @@
341-
# be assumed that no additional -I,-L directives are needed.
342-
if not cross_compiling:
343-
lib_dirs = self.compiler.library_dirs + [
344-
- '/lib64', '/usr/lib64',
345-
- '/lib', '/usr/lib',
346-
+ '/' + sys.lib, '/usr/' + sys.lib
347-
]
348-
inc_dirs = self.compiler.include_dirs + ['/usr/include']
349-
else:
340+
@@ -569,7 +569,7 @@ class PyBuildExt(build_ext):
341+
add_dir_to_list(self.compiler.include_dirs,
342+
sysconfig.get_config_var("INCLUDEDIR"))
343+
344+
- system_lib_dirs = ['/lib64', '/usr/lib64', '/lib', '/usr/lib']
345+
+ system_lib_dirs = ['/' + sys.lib, '/usr/' + sys.lib]
346+
system_include_dirs = ['/usr/include']
347+
# lib_dirs and inc_dirs are used to search for files;
348+
# if a file is found in one of those directories, it can
350349
@@ -750,11 +749,11 @@
351350
elif curses_library:
352351
readline_libs.append(curses_library)

‎python3.spec‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ Summary(ru.UTF-8): Язык программирования очень высо
3838
Summary(tr.UTF-8): X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
3939
Summary(uk.UTF-8): Мова програмування дуже високого рівня з X-інтерфейсом
4040
Name: python3
41-
Version: %{py_ver}.3
41+
Version: %{py_ver}.4
4242
Release: 1
4343
Epoch: 1
4444
License: PSF
4545
Group: Development/Languages/Python
4646
Source0: https://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
47-
# Source0-md5: b9c2c36c33fb89bda1fefd37ad5af9be
47+
# Source0-md5: 1325134dd525b4a2c3272a1a0214dd54
4848
Source1: pyconfig.h.in
4949
Patch0: %{name}-pythonpath.patch
5050
Patch1: %{name}-ac_fixes.patch

0 commit comments

Comments
 (0)