From 0eb79f25d4adf4bebad507bf38c12b05e30dbcd7 Mon Sep 17 00:00:00 2001 From: Joel Capitao Date: Jan 07 2025 09:54:56 +0000 Subject: Import pyOpenSSL-24.2.1-1.el10s in CloudSIG Epoxy --- diff --git a/.pyOpenSSL.metadata b/.pyOpenSSL.metadata index 8648544..47bda06 100644 --- a/.pyOpenSSL.metadata +++ b/.pyOpenSSL.metadata @@ -1 +1 @@ -894c2736538d8fff4ffe6e02a4811d5f62e54350 SOURCES/pyOpenSSL-19.0.0.tar.gz +b92ce493392a698f2a08e96b37f9637609fe5a9e SOURCES/pyopenssl-24.2.1.tar.gz diff --git a/SOURCES/.gitkeep b/SOURCES/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitkeep diff --git a/SPECS/pyOpenSSL.spec b/SPECS/pyOpenSSL.spec index 7265a7f..0bef618 100644 --- a/SPECS/pyOpenSSL.spec +++ b/SPECS/pyOpenSSL.spec @@ -1,40 +1,35 @@ -Summary: Python wrapper module around the OpenSSL library -Name: pyOpenSSL -Version: 19.0.0 -Release: 1%{?dist} -Source0: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz +%global srcname pyopenssl -BuildArch: noarch -License: ASL 2.0 -URL: https://pyopenssl.readthedocs.org/ +Name: pyOpenSSL +Version: 24.2.1 +Release: 1%{?dist} +Summary: Python wrapper module around the OpenSSL library +License: Apache-2.0 +URL: https://pyopenssl.readthedocs.org/ +Source0: %{pypi_source %{srcname} %{version}} -BuildRequires: python3-setuptools -BuildRequires: python3-sphinx -BuildRequires: python3-sphinx_rtd_theme +BuildArch: noarch -BuildRequires: python3-devel -BuildRequires: python3-cryptography >= 2.3 +BuildRequires: make +BuildRequires: openssl +BuildRequires: python3-devel -%description +%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.3 -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 @@ -44,31 +39,145 @@ 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 examples doc/_build/html +%doc CHANGELOG.rst 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 +* Wed Jul 31 2024 Jeremy Cline - 24.2.1-1 +- Update to v24.2.1 + +* Wed Jul 31 2024 Jeremy Cline - 24.1.0-9 +- Add README to the main package + +* Wed Jul 24 2024 Miroslav Suchý - 24.1.0-4 +- convert license to SPDX + +* Fri Jul 19 2024 Fedora Release Engineering - 24.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 24.1.0-2 +- Rebuilt for Python 3.13 + +* Sat Mar 23 2024 Christian Heimes - 24.1.0-1 +- Update to 24.1.0, resolves rhbz#2246256 +- Use pyproject_buildrequires + +* Fri Jan 26 2024 Fedora Release Engineering - 23.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 23.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Aug 10 2023 Christian Heimes - 23.2.0-1 +- Update to 23.2.0, resolves rhbz#2181444 + +* Fri Jul 21 2023 Fedora Release Engineering - 23.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 23.1.1-2 +- Rebuilt for Python 3.12 + +* Wed May 17 2023 Adam Williamson - 23.1.1-1 +- New release, works with cryptography 40+ + +* Tue Apr 25 2023 Yaakov Selkowitz - 23.0.0-2 +- Rebuilt + +* Fri Jan 20 2023 Paul Wouters - 21.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 21.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jun 14 2022 Python Maint - 21.0.0-3 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 21.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Oct 05 2021 Paul Wouters - 21.0.0-1 +- Resolves: rhbz#2008709 pyOpenSSL-21.0.0 is available + +* Fri Jul 23 2021 Fedora Release Engineering - 20.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jun 03 2021 Python Maint - 20.0.1-3 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 20.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jan 18 23:57:32 EST 2021 Paul Wouters - 20.0.1-1 +- Resolves: rhbz#1907999 pyOpenSSL-20.0.1 is available + +* Tue Dec 1 10:22:08 EST 2020 Paul Wouters - 20.0.0-1 +- update to 20.0.0 + +* Tue Jul 28 2020 Fedora Release Engineering - 19.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 15 2020 Tomáš Mráz - 19.1.0-1 +- Update to 19.1.0 + +* Sat May 23 2020 Miro Hrončok - 19.0.0-7 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 19.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Oct 23 2019 Miro Hrončok - 19.0.0-5 +- Subpackage python2-pyOpenSSL has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Thu Oct 03 2019 Miro Hrončok - 19.0.0-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Fri Aug 16 2019 Miro Hrončok - 19.0.0-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 19.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Feb 13 2019 Alfredo Moralejo - 19.0.0-1 +- Update to 19.0.0 + +* Sat Feb 02 2019 Fedora Release Engineering - 18.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 18.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Jun 16 2018 Miro Hrončok - 18.0.0-2 +- Rebuilt for Python 3.7 * Mon Jun 11 2018 Tomáš Mráz - 18.0.0-1 - New upstream release 18.0.0