diff --git a/.abf.yml b/.abf.yml index ab441ee..dea3f0b 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,4 +1,3 @@ sources: Python-3.8.20.tar.xz: 88832fd164f0a7d1d0f4677b06960bb5ff15ff1d - python-3.8.2-docs-html.tar.bz2: b19ca23d6145568045a899b812af4d641b62af18 python-3.8.20-docs-html.tar.bz2: d0fbc5196fdf3682f04538cc904ae25f49c71b1e diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d5b8b48..dd7cf08 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -13,4 +13,5 @@ jobs: with: CI_DEPLOY: ${{ secrets.CI_DEPLOY }} PUBLICATOR: ${{ secrets.PUBLICATOR }} + REPO_DEPLOY: ${{ secrets.REPO_DEPLOY }} diff --git a/python38.spec b/python38.spec index a073e9d..b1d27c0 100644 --- a/python38.spec +++ b/python38.spec @@ -116,7 +116,8 @@ Patch507: link-C-modules-with-libpython.patch URL: http://www.python.org/ Requires: %{lib_name} = %{EVRD} BuildRequires: automake -BuildRequires: gcc-c++ +BuildRequires: autoconf-archive +BuildRequires: gcc-c++ BuildRequires: blt BuildRequires: db-devel BuildRequires: expat-devel @@ -124,7 +125,9 @@ BuildRequires: gdbm-devel BuildRequires: gmp-devel BuildRequires: ffi-devel BuildRequires: pkgconfig(ncursesw) -BuildRequires: openssl-devel +#BuildRequires: pkgconfig(openssl1.1) +#BuildRequires: openssl1.1 +BuildRequires: pkgconfig(libressl) BuildRequires: readline-devel BuildRequires: tcl tcl-devel BuildRequires: tk tk-devel @@ -268,16 +271,21 @@ export OPT="%{optflags} -g" export CFLAGS="%{optflags} -I/usr/include/ncursesw" export CPPFLAGS="%{optflags} -I/usr/include/ncursesw" +export LD_LIBRARY_PATH=/opt/libressl/lib:${LD_LIBRARY_PATH} + autoreconf -vfi # Remove -Wl,--no-undefined %define _disable_ld_no_undefined 1 -%configure --with-threads \ + +%configure \ --enable-ipv6 \ --with-dbmliborder=gdbm \ --with-system-expat \ --with-system-ffi \ --enable-shared \ --without-ensurepip \ + --with-openssl=/opt/libressl \ + --with-ssl-default-suites=libressl \ %if %{with valgrind} --with-valgrind %endif