From 3bceeefd81a4373ddf9f9f1eb1c30b4478d36b84e90e9f8442207de767c69330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 24 Jul 2024 10:28:52 +0000 Subject: [PATCH] Accepting request 1189233 from system:homeautomation:home-assistant:unstable - 24.2.1: * Deprecated OpenSSL.crypto.X509Req, OpenSSL.crypto.load_certificate_request, OpenSSL.crypto.dump_certificate_request. Instead, cryptography.x509.CertificateSigningRequest,s cryptography.x509.CertificateSigningRequestBuilder,s cryptography.x509.load_der_x509_csr,s or cryptography.x509.load_pem_x509_csr should be used. * Added type hints for the SSL module. #1308. * Changed OpenSSL.crypto.PKey.from_cryptography_key to accept public and private EC, ED25519, ED448 keys OBS-URL: https://build.opensuse.org/request/show/1189233 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=114 --- pyOpenSSL-24.1.0.tar.gz | 3 --- pyopenssl-24.2.1.tar.gz | 3 +++ python-pyOpenSSL.changes | 4 ++-- python-pyOpenSSL.spec | 11 ++++++----- 4 files changed, 11 insertions(+), 10 deletions(-) delete mode 100644 pyOpenSSL-24.1.0.tar.gz create mode 100644 pyopenssl-24.2.1.tar.gz diff --git a/pyOpenSSL-24.1.0.tar.gz b/pyOpenSSL-24.1.0.tar.gz deleted file mode 100644 index eb9564e..0000000 --- a/pyOpenSSL-24.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cabed4bfaa5df9f1a16c0ef64a0cb65318b5cd077a7eda7d6970131ca2f41a6f -size 179671 diff --git a/pyopenssl-24.2.1.tar.gz b/pyopenssl-24.2.1.tar.gz new file mode 100644 index 0000000..e34e812 --- /dev/null +++ b/pyopenssl-24.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4247f0dbe3748d560dcbb2ff3ea01af0f9a1a001ef5f7c4c647956ed8cbf0e95 +size 184323 diff --git a/python-pyOpenSSL.changes b/python-pyOpenSSL.changes index 9368707..8fe549b 100644 --- a/python-pyOpenSSL.changes +++ b/python-pyOpenSSL.changes @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:76d4d3db065a7acbcc2f35c7900fce8b8e4431bf3ef31d0e7c94abab6af46620 -size 26133 +oid sha256:f48892892f2dc28bdd9b192a835949ad4f31367af733ae8fe307906559501ec5 +size 26828 diff --git a/python-pyOpenSSL.spec b/python-pyOpenSSL.spec index fdadcfe..0661646 100644 --- a/python-pyOpenSSL.spec +++ b/python-pyOpenSSL.spec @@ -26,12 +26,12 @@ %endif %{?sle15_python_module_pythons} Name: python-pyOpenSSL%{psuffix} -Version: 24.1.0 +Version: 24.2.1 Release: 0 Summary: Python wrapper module around the OpenSSL library License: Apache-2.0 URL: https://github.com/pyca/pyopenssl -Source: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pyopenssl/pyopenssl-%{version}.tar.gz # PATCH-FIX-UPSTREAM skip-networked-test.patch gh#pyca/pyopenssl#68 mcepl@suse.com # Mark tests requiring network access Patch0: skip-networked-test.patch @@ -40,11 +40,12 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cffi -Requires: (python-cryptography >= 41.0.5 with python-cryptography < 43) +Requires: (python-cryptography >= 41.0.5 with python-cryptography < 44) Provides: pyOpenSSL = %{version} +Provides: pyopenssl = %{version}-%release BuildArch: noarch %if %{with test} -BuildRequires: %{python_module cryptography >= 41.0.5 with %python-cryptography < 43} +BuildRequires: %{python_module cryptography >= 41.0.5 with %python-cryptography < 44} BuildRequires: %{python_module pretend} BuildRequires: %{python_module pyOpenSSL >= %version} BuildRequires: %{python_module pytest >= 3.0.1} @@ -64,7 +65,7 @@ cryptography (), which provides (among other things) a cffi-based interface to OpenSSL. %prep -%autosetup -p1 -n pyOpenSSL-%{version} +%autosetup -p1 -n pyopenssl-%{version} %build %python_build