- Update to 17.5.0:

* The minimum cryptography version is now 2.1.4.
  * Fixed various memory leaks
  * Various fuzz fixes
  * See CHANGELOG.rst

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=43
This commit is contained in:
Tomáš Chvátal 2018-02-02 11:41:11 +00:00 committed by Git OBS Bridge
parent 07f2dcfb54
commit fafea12932
4 changed files with 21 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d617ce36b07c51f330aa63b83bf7f25c40a0e95958876d54d1982f8c91b4834
size 170816

3
pyOpenSSL-17.5.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c10cfba46a52c0b0950118981d61e72c1e5b1aac451ca1bc77de1a679456773
size 170870

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Feb 2 11:36:18 UTC 2018 - tchvatal@suse.com
- Update to 17.5.0:
* The minimum cryptography version is now 2.1.4.
* Fixed various memory leaks
* Various fuzz fixes
* See CHANGELOG.rst
-------------------------------------------------------------------
Wed Aug 23 05:26:31 UTC 2017 - tbechtold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pyOpenSSL
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,42 +16,37 @@
#
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-pyOpenSSL
Version: 17.2.0
Version: 17.5.0
Release: 0
Url: https://github.com/pyca/pyopenssl
Summary: Python wrapper module around the OpenSSL library
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/pyca/pyopenssl
Source: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
Patch0: bug-lp-1265482.diff
Patch1: skip-networked-test.patch
Patch2: rsa128-i586.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module cryptography >= 1.9}
BuildRequires: %{python_module cryptography >= 2.1.4}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pytest >= 3.0.1}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: openssl-devel
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
%if %{with tests}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pytest >= 3.0.1}
%endif
Requires: python-cryptography >= 1.9
Requires: python-cryptography >= 2.1.4
Requires: python-six >= 1.5.2
Provides: pyOpenSSL = %{version}
BuildArch: noarch
%ifpython2
Obsoletes: %{oldpython}-openssl < %{version}
Provides: %{oldpython}-openssl = %{version}
%endif
BuildArch: noarch
%python_subpackages
%description
@ -84,22 +79,18 @@ Provides documentation for %{name}.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
PYTHONPATH="%{buildroot}%{python3_sitelib}" python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%if %{with tests}
%check
export LC_ALL=en_US.UTF-8
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
py.test-%{$python_bin_suffix} -m "not network" -k "not test_export_text"
}
%endif
%files %{python_files}
%defattr(-,root,root)
%doc LICENSE *.rst
%{python_sitelib}/OpenSSL/
%{python_sitelib}/pyOpenSSL-%{version}-py*.egg-info
%files -n %{name}-doc
%defattr(-,root,root)
%doc build/sphinx/html/
%doc examples/