From a33dd912337e0ac55fab616e768244a3d9681381 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 29 Oct 2019 10:33:03 +0100 Subject: [PATCH 1/3] add lzma and xz dependencies as their python interface is now in python3 standard --- python3.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python3.spec b/python3.spec index 07e03d2eed3..e005f4c04db 100644 --- a/python3.spec +++ b/python3.spec @@ -7,7 +7,7 @@ %define pythonv %(echo %realversion | cut -d. -f 1,2) %define python_major %(echo %realversion | cut -d. -f 1) -Requires: expat bz2lib db6 gdbm openssl libffi zlib sqlite +Requires: expat bz2lib db6 gdbm openssl libffi zlib sqlite lzma xz Source: https://www.python.org/ftp/python/%realversion/Python-%realversion.tgz From ae515ad1470df04744a8a869b238b26d4a2da077 Mon Sep 17 00:00:00 2001 From: David Lange Date: Tue, 29 Oct 2019 10:50:55 +0100 Subject: [PATCH 2/3] Update python3.spec --- python3.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python3.spec b/python3.spec index e005f4c04db..d88360b0b39 100644 --- a/python3.spec +++ b/python3.spec @@ -7,7 +7,7 @@ %define pythonv %(echo %realversion | cut -d. -f 1,2) %define python_major %(echo %realversion | cut -d. -f 1) -Requires: expat bz2lib db6 gdbm openssl libffi zlib sqlite lzma xz +Requires: expat bz2lib db6 gdbm openssl libffi zlib sqlite xz Source: https://www.python.org/ftp/python/%realversion/Python-%realversion.tgz From c369c8d5c33d9b575bfb7a0606a0f185892c4466 Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Mon, 4 Nov 2019 22:01:11 +0100 Subject: [PATCH 3/3] pass xz include and libdir to configure --- python3.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python3.spec b/python3.spec index d88360b0b39..89dbb17010b 100644 --- a/python3.spec +++ b/python3.spec @@ -25,7 +25,7 @@ export LIBFFI_ROOT # Python's configure parses LDFLAGS and CPPFLAGS to look for aditional library and include directories LDFLAGS="" CPPFLAGS="" -for d in ${EXPAT_ROOT} ${BZ2LIB_ROOT} ${DB6_ROOT} ${GDBM_ROOT} ${OPENSSL_ROOT} ${LIBFFI_ROOT} ${ZLIB_ROOT} ${SQLITE_ROOT}; do +for d in ${EXPAT_ROOT} ${BZ2LIB_ROOT} ${DB6_ROOT} ${GDBM_ROOT} ${OPENSSL_ROOT} ${LIBFFI_ROOT} ${ZLIB_ROOT} ${SQLITE_ROOT} ${XZ_ROOT}; do LDFLAGS="$LDFLAGS -L$d/lib -L$d/lib64" CPPFLAGS="$CPPFLAGS -I$d/include" done