Blob Blame History Raw
%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
License:        ASL 2.0
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 All fixes for
types and metadata should be contributed there.

See for more details.}

%description %{_description}

%package -n python%{python3_pkgversion}-%{srcname}
Summary:        %{summary}

%description -n python%{python3_pkgversion}-%{srcname} %{_description}

%autosetup -p1 -n %{pypi_name}-%{version}

%pyproject_buildrequires -r



%if 0%{?fedora}
%py3_check_import OpenSSL-stubs

%files -n  python%{python3_pkgversion}-%{srcname}