## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 13; 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 types-pyopenssl %global modname types_pyOpenSSL %global pypi_name types-pyOpenSSL Name: python-%{srcname} Version: 21.0.1 Release: %autorelease Summary: Typing stubs for pyOpenSSL # Automatically converted from old format: ASL 2.0 - review is highly recommended. License: Apache-2.0 URL: https://github.com/python/typeshed Source0: %{pypi_source %{pypi_name}} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel %global _description %{expand: This is a PEP 561 type stub package for the pyOpenSSL package. It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code that uses pyOpenSSL. The source for this package can be found at https://github.com/python/typeshed/tree/master/stubs/pyOpennSSL. All fixes for types and metadata should be contributed there. See https://github.com/python/typeshed/blob/master/README.md for more details.} %description %{_description} %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} %description -n python%{python3_pkgversion}-%{srcname} %{_description} %prep %autosetup -p1 -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %if 0%{?fedora} %check %py3_check_import OpenSSL-stubs %endif %files -n python%{python3_pkgversion}-%{srcname} %doc CHANGELOG.md %{python3_sitelib}/OpenSSL-stubs %{python3_sitelib}/%{modname}-%{version}.dist-info/ %changelog ## START: Generated by rpmautospec * Wed Jul 24 2024 Miroslav Suchý - 21.0.1-13 - convert ASL 2.0 license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 21.0.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 21.0.1-11 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 21.0.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 21.0.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 21.0.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 21.0.1-7 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 21.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 21.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 21.0.1-4 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 21.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Dec 14 2021 Michel Alexandre Salim - 21.0.1-2 - Remove unnecessary BR on setuptools - Only do smoke tests on Fedora, as the module name contains dashes * Fri Dec 10 2021 Michel Alexandre Salim - 21.0.1-1 - Initial Fedora package ## END: Generated by rpmautospec