2020-08-07 06:17:52 +03:00
|
|
|
Summary: Python wrapper module around the OpenSSL library
|
|
|
|
Name: pyOpenSSL
|
|
|
|
Version: 18.0.0
|
2021-12-14 01:16:13 +03:00
|
|
|
Release: 8%{?dist}
|
2020-08-07 06:17:52 +03:00
|
|
|
License: ASL 2.0
|
|
|
|
Vendor: Microsoft Corporation
|
|
|
|
Distribution: Mariner
|
2021-11-25 00:06:58 +03:00
|
|
|
Group: Development/Languages/Python
|
|
|
|
URL: https://github.com/pyca/pyopenssl
|
2020-08-07 06:17:52 +03:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/%{name}-%{version}.tar.gz
|
2021-11-25 00:06:58 +03:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
High-level wrapper around a subset of the OpenSSL library.
|
|
|
|
|
|
|
|
%package -n python3-pyOpenSSL
|
|
|
|
Summary: Python wrapper module around the OpenSSL library
|
2020-08-07 06:17:52 +03:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-xml
|
2021-11-25 00:06:58 +03:00
|
|
|
Requires: python3
|
|
|
|
Requires: python3-cryptography
|
|
|
|
Requires: python3-six
|
2020-08-07 06:17:52 +03:00
|
|
|
%if %{with_check}
|
|
|
|
BuildRequires: curl-devel
|
2021-11-25 00:06:58 +03:00
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: python3-asn1crypto
|
2020-08-07 06:17:52 +03:00
|
|
|
BuildRequires: python3-cffi
|
2021-11-25 00:06:58 +03:00
|
|
|
BuildRequires: python3-cryptography
|
2020-08-07 06:17:52 +03:00
|
|
|
BuildRequires: python3-idna
|
2021-11-25 00:06:58 +03:00
|
|
|
BuildRequires: python3-packaging
|
2021-12-14 01:16:13 +03:00
|
|
|
BuildRequires: python3-pip
|
2020-08-07 06:17:52 +03:00
|
|
|
BuildRequires: python3-pyasn1
|
2021-11-25 00:06:58 +03:00
|
|
|
BuildRequires: python3-pycparser
|
2020-08-07 06:17:52 +03:00
|
|
|
BuildRequires: python3-six
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description -n python3-pyOpenSSL
|
2021-11-25 00:06:58 +03:00
|
|
|
High-level wrapper around a subset of the OpenSSL library.
|
2020-08-07 06:17:52 +03:00
|
|
|
|
|
|
|
%prep
|
2021-11-25 00:06:58 +03:00
|
|
|
%autosetup
|
2020-08-07 06:17:52 +03:00
|
|
|
|
|
|
|
%build
|
2021-11-25 00:06:58 +03:00
|
|
|
%py3_build
|
2020-08-07 06:17:52 +03:00
|
|
|
|
|
|
|
%install
|
2021-11-25 00:06:58 +03:00
|
|
|
%py3_install
|
2020-08-07 06:17:52 +03:00
|
|
|
|
|
|
|
%check
|
2021-12-14 01:16:13 +03:00
|
|
|
pip3 install pretend flaky pytest
|
2020-08-07 06:17:52 +03:00
|
|
|
PATH=%{buildroot}%{_bindir}:${PATH} \
|
|
|
|
LANG=en_US.UTF-8 PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
|
|
|
pytest
|
|
|
|
|
|
|
|
%files -n python3-pyOpenSSL
|
|
|
|
%defattr(-,root,root,-)
|
2021-11-25 00:06:58 +03:00
|
|
|
%license LICENSE
|
2020-08-07 06:17:52 +03:00
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
|
|
%changelog
|
2021-12-14 01:16:13 +03:00
|
|
|
* Fri Dec 03 2021 Thomas Crain <thcrain@microsoft.com> - 18.0.0-8
|
|
|
|
- Replace easy_install usage with pip in %%check sections
|
|
|
|
|
2021-11-25 00:06:58 +03:00
|
|
|
* Wed Oct 20 2021 Thomas Crain <thcrain@microsoft.com> - 18.0.0-7
|
|
|
|
- Add license to python3 package
|
|
|
|
- Remove python2 package
|
|
|
|
- Lint spec
|
|
|
|
- License verified
|
|
|
|
|
|
|
|
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 18.0.0-6
|
2020-08-07 06:17:52 +03:00
|
|
|
- Added %%license line automatically
|
|
|
|
|
2021-11-25 00:06:58 +03:00
|
|
|
* Wed Apr 29 2020 Emre Girgin <mrgirgin@microsoft.com> 18.0.0-5
|
|
|
|
- Renaming python-pyOpenSSL to pyOpenSSL
|
|
|
|
|
|
|
|
* Tue Apr 07 2020 Nicolas Ontiveros <niontive@microsoft.com> 18.0.0-4
|
|
|
|
- Remove python-enum from build requires.
|
|
|
|
|
|
|
|
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 18.0.0-3
|
|
|
|
- Initial CBL-Mariner import from Photon (license: Apache2).
|
|
|
|
|
|
|
|
* Fri Jan 11 2019 Tapas Kundu <tkundu@vmware.com> 18.0.0-2
|
|
|
|
- Fix makecheck
|
|
|
|
|
|
|
|
* Sun Sep 09 2018 Tapas Kundu <tkundu@vmware.com> 18.0.0-1
|
|
|
|
- Update to version 18.0.0
|
|
|
|
|
|
|
|
* Thu Jun 14 2018 Tapas Kundu <tkundu@vmware.com> 17.2.0-2
|
|
|
|
- Added memory fix for X509StoreContext Class.
|
|
|
|
|
|
|
|
* Mon Aug 14 2017 Xiaolin Li <xiaolinl@vmware.com> 17.2.0-1
|
|
|
|
- Updated to version 17.2.0 and fixed make check.
|
|
|
|
|
|
|
|
* Fri Jul 21 2017 Divya Thaluru <dthaluru@vmware.com> 16.2.0-5
|
|
|
|
- Fixed runtime dependencies
|
|
|
|
|
|
|
|
* Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 16.2.0-4
|
|
|
|
- Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
|
|
|
|
|
|
|
|
* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 16.2.0-3
|
|
|
|
- Use python2 explicitly
|
|
|
|
|
|
|
|
* Tue Feb 21 2017 Xiaolin Li <xiaolinl@vmware.com> 16.2.0-2
|
|
|
|
- Add Requires for python-enum and python-ipaddress
|
|
|
|
|
|
|
|
* Tue Feb 14 2017 Xiaolin Li <xiaolinl@vmware.com> 16.2.0-1
|
|
|
|
- Initial packaging for Photon
|