|
|
|
@ -1,43 +1,45 @@
|
|
|
|
|
Summary: Python wrapper module around the OpenSSL library
|
|
|
|
|
Name: pyOpenSSL
|
|
|
|
|
Version: 21.0.0
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: https://pyopenssl.readthedocs.org/
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: python3-sphinx_rtd_theme
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-cryptography >= 3.2
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.7.2)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 1;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
%global srcname pyopenssl
|
|
|
|
|
|
|
|
|
|
Name: pyOpenSSL
|
|
|
|
|
Version: 24.2.1
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Python wrapper module around the OpenSSL library
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
URL: https://pyopenssl.readthedocs.org/
|
|
|
|
|
Source0: %{pypi_source %{srcname} %{version}}
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: openssl
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
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
|
|
|
|
|
* Extensive error-handling mechanism, mirroring OpenSSL's error codes}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-pyOpenSSL
|
|
|
|
|
Summary: Python 3 wrapper module around the OpenSSL library
|
|
|
|
|
Requires: python3-cryptography >= 2.8
|
|
|
|
|
Requires: python3-six >= 1.5.2
|
|
|
|
|
%{?python_provide:%python_provide python3-pyOpenSSL}
|
|
|
|
|
Obsoletes: pyOpenSSL < 19.0.0-5
|
|
|
|
|
Provides: pyOpenSSL = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python3-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
|
|
|
|
|
%description -n python3-pyOpenSSL %{_description}
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation for pyOpenSSL
|
|
|
|
@ -47,29 +49,83 @@ BuildArch: noarch
|
|
|
|
|
Documentation for pyOpenSSL
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n pyOpenSSL-%{version}
|
|
|
|
|
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires -x docs,test
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%{__make} -C doc html SPHINXBUILD=sphinx-build-3
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
%pyproject_save_files OpenSSL
|
|
|
|
|
|
|
|
|
|
# Cleanup sphinx .buildinfo file before packaging
|
|
|
|
|
rm doc/_build/html/.buildinfo
|
|
|
|
|
|
|
|
|
|
%files -n python3-pyOpenSSL
|
|
|
|
|
%check
|
|
|
|
|
%pyproject_check_import
|
|
|
|
|
%pytest -k "not test_sign_verify_with_text" -k "not test_sign_verify"
|
|
|
|
|
|
|
|
|
|
%files -n python3-pyOpenSSL -f %{pyproject_files}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{python3_sitelib}/OpenSSL/
|
|
|
|
|
%{python3_sitelib}/pyOpenSSL-*.egg-info
|
|
|
|
|
%doc README.rst
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc CHANGELOG.rst doc/_build/html
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Dec 28 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 24.2.1-1
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Wed Jul 31 2024 Jeremy Cline <jeremycline@linux.microsoft.com> - 24.2.1-1
|
|
|
|
|
- Update to v24.2.1
|
|
|
|
|
|
|
|
|
|
* Wed Jul 31 2024 Jeremy Cline <jeremycline@linux.microsoft.com> - 24.1.0-9
|
|
|
|
|
- Add README to the main package
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 24.1.0-4
|
|
|
|
|
- convert license to SPDX
|
|
|
|
|
|
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 24.1.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 24.1.0-2
|
|
|
|
|
- Rebuilt for Python 3.13
|
|
|
|
|
|
|
|
|
|
* Sat Mar 23 2024 Christian Heimes <cheimes@redhat.com> - 24.1.0-1
|
|
|
|
|
- Update to 24.1.0, resolves rhbz#2246256
|
|
|
|
|
- Use pyproject_buildrequires
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 23.2.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 23.2.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Aug 10 2023 Christian Heimes <cheimes@redhat.com> - 23.2.0-1
|
|
|
|
|
- Update to 23.2.0, resolves rhbz#2181444
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 23.1.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 23.1.1-2
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Wed May 17 2023 Adam Williamson <awilliam@redhat.com> - 23.1.1-1
|
|
|
|
|
- New release, works with cryptography 40+
|
|
|
|
|
|
|
|
|
|
* Tue Apr 25 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 23.0.0-2
|
|
|
|
|
- Rebuilt
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Paul Wouters <paul.wouters@aiven.io - 23.0.0-1
|
|
|
|
|
- Resolves rhbz#2048162 pyOpenSSL-23.0.0 is available
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 21.0.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
@ -426,3 +482,5 @@ rm doc/_build/html/.buildinfo
|
|
|
|
|
|
|
|
|
|
* Fri Jun 14 2002 Mihai Ibanescu <misa@redhat.com>
|
|
|
|
|
- Added documentation
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|