|
|
@ -32,21 +32,21 @@ BuildArch: noarch
|
|
|
|
%description %{common_description}
|
|
|
|
%description %{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{pkgname}
|
|
|
|
%package -n python3-%{pkgname}
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
%if %{with tests}
|
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
|
|
|
|
BuildRequires: python3-pyOpenSSL
|
|
|
|
BuildRequires: python%{python3_pkgversion}-service-identity
|
|
|
|
BuildRequires: python3-service-identity
|
|
|
|
BuildRequires: python%{python3_pkgversion}-cryptography
|
|
|
|
BuildRequires: python3-cryptography
|
|
|
|
BuildRequires: python%{python3_pkgversion}-idna
|
|
|
|
BuildRequires: python3-idna
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
|
|
|
|
%{?python_provide:%python_provide python3-%{pkgname}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-%{pkgname} %{common_description}
|
|
|
|
%description -n python3-%{pkgname} %{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
@ -68,7 +68,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python%{python3_pkgversion}-%{pkgname}
|
|
|
|
%files -n python3-%{pkgname}
|
|
|
|
%license LICENSE LICENSE.MIT LICENSE.APACHE2
|
|
|
|
%license LICENSE LICENSE.MIT LICENSE.APACHE2
|
|
|
|
%doc README.rst
|
|
|
|
%doc README.rst
|
|
|
|
%{python3_sitelib}/%{libname}
|
|
|
|
%{python3_sitelib}/%{libname}
|
|
|
|