Skip to content

Commit

Permalink
Merge pull request #5310 from davidlange6/py191029
Browse files Browse the repository at this point in the history
add lzma and xz dependencies as their python interface is now in python3 itself
  • Loading branch information
smuzaffar committed Nov 4, 2019
2 parents 228e405 + c369c8d commit 7d39879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python3.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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 xz

Source: https://www.python.org/ftp/python/%realversion/Python-%realversion.tgz

Expand All @@ -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
Expand Down

0 comments on commit 7d39879

Please sign in to comment.