diff --git a/python-crypto/python-crypto.spec b/python-crypto/python-crypto.spec index 5696141f3e..9927fa8142 100644 --- a/python-crypto/python-crypto.spec +++ b/python-crypto/python-crypto.spec @@ -29,11 +29,11 @@ %define V_pyasn1 0.6.1 %define V_pyasn1_modules 0.2.8 %define V_ndg_httpsclient 0.5.1 -%define V_pynacl 1.5.0 +%define V_pynacl 1.6.1 %define V_libnacl 2.1.0 %define V_service_identity 24.2.0 %define V_asn1crypto 1.5.1 -%define V_certifi 2025.10.5 +%define V_certifi 2025.11.12 %define V_passlib 1.7.4 # package information @@ -47,7 +47,7 @@ Class: BASE Group: Language License: GPL Version: %{V_python} -Release: 20251016 +Release: 20251229 # package options %option with_libnacl no @@ -59,7 +59,7 @@ Source2: https://files.pythonhosted.org/packages/source/c/cryptography/cryp Source3: https://files.pythonhosted.org/packages/source/p/pyasn1/pyasn1-%{V_pyasn1}.tar.gz Source4: https://files.pythonhosted.org/packages/source/p/pyasn1-modules/pyasn1-modules-%{V_pyasn1_modules}.tar.gz Source5: https://files.pythonhosted.org/packages/source/n/ndg-httpsclient/ndg_httpsclient-%{V_ndg_httpsclient}.tar.gz -Source6: https://files.pythonhosted.org/packages/source/P/PyNaCl/PyNaCl-%{V_pynacl}.tar.gz +Source6: https://files.pythonhosted.org/packages/source/P/PyNaCl/pynacl-%{V_pynacl}.tar.gz Source7: https://files.pythonhosted.org/packages/source/l/libnacl/libnacl-%{V_libnacl}.tar.gz Source8: https://files.pythonhosted.org/packages/source/s/service_identity/service_identity-%{V_service_identity}.tar.gz Source9: https://files.pythonhosted.org/packages/source/a/asn1crypto/asn1crypto-%{V_asn1crypto}.tar.gz @@ -114,7 +114,7 @@ PreReq: python::with_ctypes = yes prog python-crypto:PyNaCl = { version = %{V_pynacl} url = https://pypi.python.org/pypi/PyNaCl/ - regex = PyNaCl-(__VER__)\.tar\.gz + regex = pynacl-(__VER__)\.tar\.gz } prog python-crypto:libnacl = { version = %{V_libnacl} @@ -204,11 +204,11 @@ PreReq: python::with_ctypes = yes --root=$RPM_BUILD_ROOT \ --prefix=%{l_prefix} ) || exit $? - ( cd PyNaCl-%{V_pynacl} - SODIUM_INSTALL=system \ + ( cd pynacl-%{V_pynacl} + SODIUM_INSTALL=%{l_prefix} \ %{l_prefix}/bin/python setup.py build_ext \ %{l_cppflags} %{l_ldflags} - SODIUM_INSTALL=system \ + SODIUM_INSTALL=%{l_prefix} \ %{l_prefix}/bin/python setup.py install \ --root=$RPM_BUILD_ROOT \ --prefix=%{l_prefix}