## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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} %description %{_description} %package -n python3-pyOpenSSL Summary: Python 3 wrapper module around the OpenSSL library Obsoletes: pyOpenSSL < 19.0.0-5 Provides: pyOpenSSL = %{version}-%{release} %description -n python3-pyOpenSSL %{_description} %package doc Summary: Documentation for pyOpenSSL BuildArch: noarch %description doc Documentation for pyOpenSSL %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires -x docs,test %build %pyproject_wheel %{__make} -C doc html SPHINXBUILD=sphinx-build-3 %install %pyproject_install %pyproject_save_files OpenSSL # Cleanup sphinx .buildinfo file before packaging rm doc/_build/html/.buildinfo %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 %doc README.rst %files doc %license LICENSE %doc CHANGELOG.rst doc/_build/html %changelog ## START: Generated by rpmautospec * 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 * Wed Feb 21 2018 Iryna Shcherbina - 17.3.0-4 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 17.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Sep 27 2017 Troy Dawson - 17.3.0-2 - Cleanup spec file conditionals * Mon Sep 18 2017 Jeremy Cline - 17.3.0-1 - New upstream release 17.2.0 - Drop memory leak patch as it's in the 17.3.0 upstream release * Fri Sep 08 2017 Jeremy Cline - 17.2.0-1 - New upstream release 17.2.0 - Backport a memory leak fix with CRLs (upstream PR #690). * Thu Jul 27 2017 Fedora Release Engineering - 17.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jul 17 2017 Tomáš Mráz - 17.1.0-1 - New upstream release 17.1.0. * Fri Apr 28 2017 Tomáš Mráz - 16.2.0-4 - Fix the obsolete version (needs to be in sync with Fedora 25) (#1446529) * Sat Feb 11 2017 Fedora Release Engineering - 16.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 12 2016 Stratakis Charalampos - 16.2.0-2 - Rebuild for Python 3.6 * Tue Nov 8 2016 Tomáš Mráz - 16.2.0-1 - Upgrade to 16.2.0 to fix compatibility with OpenSSL-1.1.0 * Fri Sep 9 2016 Orion Poplawski - 16.0.0-3 - Modernize spec - Ship python2-pyOpenSSL - Package LICENSE * Tue Jul 19 2016 Fedora Release Engineering - 16.0.0-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Tue May 10 2016 Tomáš Mráz - 16.0.0-1 - Upgrade to 16.0.0 * Thu Feb 04 2016 Fedora Release Engineering - 0.15.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.15.1-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Fri Aug 7 2015 Tomáš Mráz - 0.15.1-1 - Upgrade to 0.15.1 * Thu Jun 18 2015 Fedora Release Engineering - 0.14-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu May 14 2015 Tomáš Mráz - 0.14-4 - allow changing the digest used when exporting CRL and use SHA1 by default * Fri Jan 30 2015 Miro Hrončok - 0.14-3 - Fix bogus requires (python3-cryptography should belong to python3-pyOpenSSL) * Wed Jan 7 2015 Tomáš Mráz - 0.14-2 - Add missing python-cryptography requires * Wed Jan 7 2015 Tomáš Mráz - 0.14-1 - Upgrade to 0.14 with help of Matěj Cepl and Kevin Fenzi * Sun Aug 17 2014 Fedora Release Engineering - 0.13.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.13.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue May 27 2014 Kalev Lember - 0.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Thu Sep 5 2013 Tomáš Mráz - 0.13.1-1 - new upstream release fixing a security issue with string formatting subjectAltName of a certificate * Tue Aug 06 2013 Jeffrey C. Ollie - 0.13-8 - Python 3 subpackage - Split documentation off into noarch subpackage * Sun Aug 04 2013 Fedora Release Engineering - 0.13-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Apr 4 2013 Tomáš Mráz - 0.13-6 - Check for error returns which cause segfaults in FIPS mode - Fix missing error check and leak found by gcc-with-cpychecker (#800086) * Thu Feb 14 2013 Fedora Release Engineering - 0.13-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Oct 12 2012 Petr Pisar - 0.13-4 - Do not scan documentation for dependencies (bug #865806) * Mon Oct 08 2012 Dan Horák - 0.13-3 - rebuilt because ARM packages had wrong Requires autodetected * Sat Jul 21 2012 Fedora Release Engineering - 0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 20 2012 Tomas Mraz - 0.13-1 - New upstream release * Sat Jan 14 2012 Fedora Release Engineering - 0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 28 2011 Tomas Mraz - 0.12-1 - New upstream release * Tue Feb 08 2011 Fedora Release Engineering - 0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 7 2010 Toshio Kuratomi - 0.10-2 - Fix incompatibility with python-2.7's socket module. * Mon Oct 4 2010 Tomas Mraz - 0.10-1 - Merge-review cleanup by Parag Nemade (#226335) - New upstream release * Wed Jul 21 2010 David Malcolm - 0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Tue Sep 29 2009 Matěj Cepl - 0.9-1 - New upstream release - Fix BuildRequires to make Postscript documentation buildable * Fri Aug 21 2009 Tomas Mraz - 0.7-7 - rebuilt with new openssl * Sun Jul 26 2009 Fedora Release Engineering - 0.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Jan 15 2009 Dennis Gilmore - 0.7-4 - rebuild against now openssl * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.7-3 - Rebuild for Python 2.6 * Fri Sep 19 2008 Dennis Gilmore - 0.7-2 - update threadsafe patch - bug#462807 * Mon Sep 15 2008 Paul F. Johnson 0.7-1 - bump to new release - the inevitable patch fixes * Wed Mar 26 2008 Tom "spot" Callaway - 0.6-4 - fix horrific release tag - fix license tag - add egg-info * Tue Feb 19 2008 Fedora Release Engineering - 0.6-3.p24.9 - Autorebuild for GCC 4.3 * Wed Dec 5 2007 Jeremy Katz - 0.6-2.p24.9 - rebuild for new openssl * Mon Dec 11 2006 Paul Howarth - 0.6-1.p24.9 - add missing buildreq latex2html, needed to build HTML docs - rewrite to be more in line with Fedora python spec template and use %%{python_sitearch} rather than a script-generated %%files list - package is not relocatable - drop Prefix: tag - buildreq perl not necessary - fix permissions for files going into debuginfo package * Thu Dec 7 2006 Jeremy Katz - 0.6-1.p24.8 - rebuild for python 2.5 * Wed Jul 12 2006 Jesse Keating - 0.6-1.p24.7.2.2 - rebuild * Fri Feb 10 2006 Jesse Keating - 0.6-1.p24.7.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 0.6-1.p24.7.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Wed Nov 9 2005 Mihai Ibanescu - 0.6-1.p24.7 - rebuilt against newer openssl * Wed Aug 24 2005 Jeremy Katz - 0.6-1.p24.6 - add dcbw's patch to fix some threading problems * Wed Aug 03 2005 Karsten Hopp 0.6-1.p24.5 - current rpm creates .pyo files, include them in filelist * Thu Mar 17 2005 Mihai Ibanescu 0.6-1.p24.4 - rebuilt * Mon Mar 14 2005 Mihai Ibanescu 0.6-1.p24.3 - rebuilt * Mon Mar 7 2005 Tomas Mraz 0.6-1.p23.2 - rebuild with openssl-0.9.7e * Tue Nov 9 2004 Nalin Dahyabhai 0.6-1.p23.1 - rebuild * Fri Aug 13 2004 Mihai Ibanescu 0.6-1 - 0.6 is out * Tue Aug 10 2004 Mihai Ibanescu 0.6-0.90.rc1 - release candidate * Thu Jun 24 2004 Mihai Ibanescu 0.5.1-24 - rebuilt * Mon Jun 21 2004 Mihai Ibanescu 0.5.1-23 - rebuilt * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Nov 5 2003 Mihai Ibanescu 0.5.1-20 - rebuilt against python 2.3.2 * Fri Aug 8 2003 Mihai Ibanescu 0.5.1-12 - lynx no longer supported, using elinks instead (patch from Michael Redinger , bug #101947 ) * Wed Jun 4 2003 Elliot Lee 0.5.1-11 - Rebuilt * Wed Jun 4 2003 Mihai Ibanescu 0.5.1-10.7.x - Built on 7.x * Mon Mar 3 2003 Mihai Ibanescu 0.5.1-9 - bug #73967: Added Requires: python * Mon Feb 24 2003 Elliot Lee - rebuilt * Fri Feb 21 2003 Mihai Ibanescu 0.5.1-7 - bug #84803: Added patch to expose more flags * Fri Jan 31 2003 Mihai Ibanescu 0.5.1-5 - installing to %%{_libdir} * Wed Jan 22 2003 Tim Powers - rebuilt * Tue Jan 7 2003 Nalin Dahyabhai 0.5.1-3 - rebuild * Fri Jan 3 2003 Nalin Dahyabhai - Add -I and -L flags for finding Kerberos headers and libraries, in case they're referenced * Tue Dec 3 2002 Mihai Ibanescu - Fix for bug 73967: site-packages/OpenSSL not owned by this package - Adding hacks around the lack of latex2html on ia64 * Tue Sep 24 2002 Mihai Ibanescu - 0.5.1 * Thu Aug 29 2002 Mihai Ibanescu - Building 0.5.1rc1 with version number 0.5.0.91 (this should also fix the big error of pushing 0.5pre previously, since it breaks rpm's version comparison algorithm). - We use %%{__python}. Too bad I can't pass --define's to distutils. * Fri Aug 16 2002 Mihai Ibanescu - Building 0.5 * Fri Jun 14 2002 Mihai Ibanescu - Added documentation ## END: Generated by rpmautospec