From 9428922c878762a9b532a9c22257df4b16d43bb1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 18 2021 06:45:40 +0000 Subject: import pyOpenSSL-19.0.0-1.el8 --- diff --git a/.gitignore b/.gitignore index bb53b65..f92ed95 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/pyOpenSSL-18.0.0.tar.gz +SOURCES/pyOpenSSL-19.0.0.tar.gz diff --git a/.pyOpenSSL.metadata b/.pyOpenSSL.metadata index 67fef55..8648544 100644 --- a/.pyOpenSSL.metadata +++ b/.pyOpenSSL.metadata @@ -1 +1 @@ -a41b82512585dd05a5370fb737f4eb4119030a38 SOURCES/pyOpenSSL-18.0.0.tar.gz +894c2736538d8fff4ffe6e02a4811d5f62e54350 SOURCES/pyOpenSSL-19.0.0.tar.gz diff --git a/SPECS/pyOpenSSL.spec b/SPECS/pyOpenSSL.spec index 240337d..7265a7f 100644 --- a/SPECS/pyOpenSSL.spec +++ b/SPECS/pyOpenSSL.spec @@ -1,31 +1,19 @@ -%if 0%{?fedora} -%bcond_without python2 -%else -# Disable python2 build by default -%bcond_with python2 -%endif - Summary: Python wrapper module around the OpenSSL library Name: pyOpenSSL -Version: 18.0.0 +Version: 19.0.0 Release: 1%{?dist} Source0: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz BuildArch: noarch License: ASL 2.0 -Group: Development/Libraries URL: https://pyopenssl.readthedocs.org/ BuildRequires: python3-setuptools BuildRequires: python3-sphinx BuildRequires: python3-sphinx_rtd_theme -%if %{with python2} -BuildRequires: python2-devel -BuildRequires: python2-cryptography >= 2.2.1 -%endif BuildRequires: python3-devel -BuildRequires: python3-cryptography >= 2.2.1 +BuildRequires: python3-cryptography >= 2.3 %description High-level wrapper around a subset of the OpenSSL library, includes among others @@ -34,25 +22,11 @@ High-level wrapper around a subset of the OpenSSL library, includes among others * Callbacks written in Python * Extensive error-handling mechanism, mirroring OpenSSL's error codes -%if %{with python2} -%package -n python2-pyOpenSSL -Summary: Python 2 wrapper module around the OpenSSL library -Requires: python2-cryptography >= 2.2.1 -Obsoletes: pyOpenSSL < %{version}-%{release} -Provides: pyOpenSSL = %{version}-%{release} -%{?python_provide:%python_provide python2-pyOpenSSL} - -%description -n python2-pyOpenSSL -High-level wrapper around a subset of the OpenSSL library, includes among others - * SSL.Connection objects, wrapping the methods of Python's portable - sockets - * Callbacks written in Python - * Extensive error-handling mechanism, mirroring OpenSSL's error codes -%endif %package -n python3-pyOpenSSL Summary: Python 3 wrapper module around the OpenSSL library -Requires: python3-cryptography >= 2.2.1 +Requires: python3-cryptography >= 2.3 +Requires: python3-six >= 1.5.2 %{?python_provide:%python_provide python3-pyOpenSSL} %description -n python3-pyOpenSSL @@ -75,29 +49,14 @@ Documentation for pyOpenSSL %build %py3_build -%if %{with python2} -%py2_build -%endif - %{__make} -C doc html SPHINXBUILD=sphinx-build-3 %install %py3_install -%if %{with python2} -%py2_install -%endif - # Cleanup sphinx .buildinfo file before packaging rm doc/_build/html/.buildinfo -%if %{with python2} -%files -n python2-pyOpenSSL -%license LICENSE -%{python_sitelib}/OpenSSL/ -%{python_sitelib}/pyOpenSSL-*.egg-info -%endif - %files -n python3-pyOpenSSL %license LICENSE %{python3_sitelib}/OpenSSL/ @@ -108,6 +67,9 @@ rm doc/_build/html/.buildinfo %doc CHANGELOG.rst examples doc/_build/html %changelog +* Thu Oct 15 2020 Tomáš Mráz - 19.0.0-1 +- Update to release 19.0.0 bringing full compatibility with openssl-1.1.1 + * Mon Jun 11 2018 Tomáš Mráz - 18.0.0-1 - New upstream release 18.0.0