| |
@@ -1,5 +1,38 @@
|
| |
+ From 65fa526f48cb844e59dc6c420314ee46ac6b2901 Mon Sep 17 00:00:00 2001
|
| |
+ From: David Malcolm <dmalcolm@redhat.com>
|
| |
+ Date: Wed, 13 Jan 2010 21:25:18 +0000
|
| |
+ Subject: [PATCH] 00102: Change the various install paths to use /usr/lib64/
|
| |
+ instead or /usr/lib/
|
| |
+ MIME-Version: 1.0
|
| |
+ Content-Type: text/plain; charset=UTF-8
|
| |
+ Content-Transfer-Encoding: 8bit
|
| |
+
|
| |
+ Only used when "%{_lib}" == "lib64".
|
| |
+
|
| |
+ Co-authored-by: David Malcolm <dmalcolm@redhat.com>
|
| |
+ Co-authored-by: Thomas Spura <tomspur@fedoraproject.org>
|
| |
+ Co-authored-by: Slavek Kabrda <bkabrda@redhat.com>
|
| |
+ Co-authored-by: Matej Stuchlik <mstuchli@redhat.com>
|
| |
+ Co-authored-by: Tomas Orsava <torsava@redhat.com>
|
| |
+ Co-authored-by: Charalampos Stratakis <cstratak@redhat.com>
|
| |
+ Co-authored-by: Petr Viktorin <pviktori@redhat.com>
|
| |
+ Co-authored-by: Miro Hrončok <miro@hroncok.cz>
|
| |
+ Co-authored-by: Iryna Shcherbina <shcherbina.iryna@gmail.com>
|
| |
+ ---
|
| |
+ Lib/distutils/command/install.py | 4 ++--
|
| |
+ Lib/distutils/sysconfig.py | 6 +++++-
|
| |
+ Lib/distutils/tests/test_install.py | 3 ++-
|
| |
+ Lib/site.py | 4 ++++
|
| |
+ Lib/sysconfig.py | 12 ++++++------
|
| |
+ Lib/test/test_site.py | 4 ++--
|
| |
+ Makefile.pre.in | 2 +-
|
| |
+ Modules/getpath.c | 6 +++---
|
| |
+ configure.ac | 4 ++--
|
| |
+ setup.py | 6 +++---
|
| |
+ 10 files changed, 30 insertions(+), 21 deletions(-)
|
| |
+
|
| |
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
|
| |
- index 0258d3d..4b969bf 100644
|
| |
+ index 0258d3deae..4b969bf809 100644
|
| |
--- a/Lib/distutils/command/install.py
|
| |
+++ b/Lib/distutils/command/install.py
|
| |
@@ -30,14 +30,14 @@ WINDOWS_SCHEME = {
|
| |
@@ -20,7 +53,7 @@
|
| |
'scripts': '$base/bin',
|
| |
'data' : '$base',
|
| |
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
|
| |
- index 0a034ee..3ce0dc1 100644
|
| |
+ index 0a034ee09b..3ce0dc1645 100644
|
| |
--- a/Lib/distutils/sysconfig.py
|
| |
+++ b/Lib/distutils/sysconfig.py
|
| |
@@ -147,8 +147,12 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None):
|
| |
@@ -38,7 +71,7 @@
|
| |
return libpython
|
| |
else:
|
| |
diff --git a/Lib/distutils/tests/test_install.py b/Lib/distutils/tests/test_install.py
|
| |
- index 287ab19..d4c05e0 100644
|
| |
+ index 287ab1989e..d4c05e0ab1 100644
|
| |
--- a/Lib/distutils/tests/test_install.py
|
| |
+++ b/Lib/distutils/tests/test_install.py
|
| |
@@ -57,8 +57,9 @@ class InstallTestCase(support.TempdirManager,
|
| |
@@ -53,7 +86,7 @@
|
| |
check_path(cmd.install_headers,
|
| |
os.path.join(destination, "include", "python", "foopkg"))
|
| |
diff --git a/Lib/site.py b/Lib/site.py
|
| |
- index 8786588..78bb790 100644
|
| |
+ index 878658827c..78bb7905f2 100644
|
| |
--- a/Lib/site.py
|
| |
+++ b/Lib/site.py
|
| |
@@ -334,11 +334,15 @@ def getsitepackages(prefixes=None):
|
| |
@@ -73,7 +106,7 @@
|
| |
return sitepackages
|
| |
|
| |
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
|
| |
- index d15cec8..159c78b 100644
|
| |
+ index d15cec8dbf..159c78bb99 100644
|
| |
--- a/Lib/sysconfig.py
|
| |
+++ b/Lib/sysconfig.py
|
| |
@@ -20,10 +20,10 @@ __all__ = [
|
| |
@@ -105,10 +138,10 @@
|
| |
'scripts': '{userbase}/bin',
|
| |
'data': '{userbase}',
|
| |
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
|
| |
- index 568f81d..234cff8 100644
|
| |
+ index 6def4e59f4..6e427bf6e2 100644
|
| |
--- a/Lib/test/test_site.py
|
| |
+++ b/Lib/test/test_site.py
|
| |
- @@ -269,8 +269,8 @@ class HelperFunctionsTests(unittest.TestCase):
|
| |
+ @@ -270,8 +270,8 @@ class HelperFunctionsTests(unittest.TestCase):
|
| |
dirs = site.getsitepackages()
|
| |
if os.sep == '/':
|
| |
# OS X, Linux, FreeBSD, etc
|
| |
@@ -120,7 +153,7 @@
|
| |
'site-packages')
|
| |
self.assertEqual(dirs[0], wanted)
|
| |
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
| |
- index beaccf5..bba49ca 100644
|
| |
+ index 35ca1a8684..78152c1e2f 100644
|
| |
--- a/Makefile.pre.in
|
| |
+++ b/Makefile.pre.in
|
| |
@@ -144,7 +144,7 @@ LIBDIR= @libdir@
|
| |
@@ -133,7 +166,7 @@
|
| |
|
| |
# Detailed destination directories
|
| |
diff --git a/Modules/getpath.c b/Modules/getpath.c
|
| |
- index ba8d74b..198e8f0 100644
|
| |
+ index ba8d74b4a0..198e8f086e 100644
|
| |
--- a/Modules/getpath.c
|
| |
+++ b/Modules/getpath.c
|
| |
@@ -535,7 +535,7 @@ calculate_exec_prefix(const _PyCoreConfig *core_config,
|
| |
@@ -163,8 +196,24 @@
|
| |
if (!calculate->lib_python) {
|
| |
return DECODE_LOCALE_ERR("EXEC_PREFIX define", len);
|
| |
}
|
| |
+ diff --git a/configure.ac b/configure.ac
|
| |
+ index f9dabd86c2..0c7b6b3aa8 100644
|
| |
+ --- a/configure.ac
|
| |
+ +++ b/configure.ac
|
| |
+ @@ -4772,9 +4772,9 @@ AC_MSG_RESULT($LDVERSION)
|
| |
+ dnl define LIBPL after ABIFLAGS and LDVERSION is defined.
|
| |
+ AC_SUBST(PY_ENABLE_SHARED)
|
| |
+ if test x$PLATFORM_TRIPLET = x; then
|
| |
+ - LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}"
|
| |
+ + LIBPL='$(prefix)'"/lib64/python${VERSION}/config-${LDVERSION}"
|
| |
+ else
|
| |
+ - LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
|
| |
+ + LIBPL='$(prefix)'"/lib64/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
|
| |
+ fi
|
| |
+ AC_SUBST(LIBPL)
|
| |
+
|
| |
diff --git a/setup.py b/setup.py
|
| |
- index 88cff61..ecbf798 100644
|
| |
+ index bf90600eaa..8070b86c2f 100644
|
| |
--- a/setup.py
|
| |
+++ b/setup.py
|
| |
@@ -585,7 +585,7 @@ class PyBuildExt(build_ext):
|
| |
@@ -190,19 +239,6 @@
|
| |
extra_link_args=readline_extra_link_args,
|
| |
libraries=readline_libs) )
|
| |
else:
|
| |
- diff --git a/configure.ac b/configure.ac
|
| |
- index 01c66fe..1e6d515 100644
|
| |
- --- a/configure.ac
|
| |
- +++ b/configure.ac
|
| |
- @@ -4772,9 +4772,9 @@ AC_MSG_RESULT($LDVERSION)
|
| |
- dnl define LIBPL after ABIFLAGS and LDVERSION is defined.
|
| |
- AC_SUBST(PY_ENABLE_SHARED)
|
| |
- if test x$PLATFORM_TRIPLET = x; then
|
| |
- - LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}"
|
| |
- + LIBPL='$(prefix)'"/lib64/python${VERSION}/config-${LDVERSION}"
|
| |
- else
|
| |
- - LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
|
| |
- + LIBPL='$(prefix)'"/lib64/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
|
| |
- fi
|
| |
- AC_SUBST(LIBPL)
|
| |
+ --
|
| |
+ 2.26.2
|
| |
|
| |
could you please update the versions of the bundled provides?