|
|
|
@ -10,8 +10,8 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: python-%{modname}
|
|
|
|
|
Version: 16.0.0
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
Version: 18.1.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Service identity verification for pyOpenSSL
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -38,20 +38,21 @@ relevant RFCs too.
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python2-%{modname}}
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
|
BuildRequires: python2dist(setuptools)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: python2-pytest
|
|
|
|
|
BuildRequires: python2-attrs
|
|
|
|
|
BuildRequires: python2-pyasn1
|
|
|
|
|
BuildRequires: python2-pyasn1-modules
|
|
|
|
|
BuildRequires: python2-pyOpenSSL
|
|
|
|
|
BuildRequires: python2-idna
|
|
|
|
|
BuildRequires: python2dist(attrs)
|
|
|
|
|
BuildRequires: python2dist(idna) >= 0.6
|
|
|
|
|
BuildRequires: python2dist(ipaddress)
|
|
|
|
|
BuildRequires: python2dist(pyasn1)
|
|
|
|
|
BuildRequires: python2dist(pyasn1-modules)
|
|
|
|
|
BuildRequires: python2dist(pyopenssl) >= 0.14
|
|
|
|
|
BuildRequires: python2dist(pytest)
|
|
|
|
|
%endif
|
|
|
|
|
Requires: python2-attrs
|
|
|
|
|
Requires: python2-pyasn1
|
|
|
|
|
Requires: python2-pyasn1-modules
|
|
|
|
|
Requires: python2-pyOpenSSL
|
|
|
|
|
Recommends: python2-idna
|
|
|
|
|
Requires: python2dist(attrs)
|
|
|
|
|
Requires: python2dist(pyasn1)
|
|
|
|
|
Requires: python2dist(pyasn1-modules)
|
|
|
|
|
Requires: python2dist(pyopenssl) >= 0.14
|
|
|
|
|
Recommends: python2dist(idna) >= 0.6
|
|
|
|
|
|
|
|
|
|
%description -n python2-%{modname} %{_description}
|
|
|
|
|
|
|
|
|
@ -62,24 +63,31 @@ Python 2 version.
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python3-%{modname}}
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3dist(setuptools)
|
|
|
|
|
BuildRequires: python3dist(sphinx)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-attrs
|
|
|
|
|
BuildRequires: python3-pyasn1
|
|
|
|
|
BuildRequires: python3-pyasn1-modules
|
|
|
|
|
BuildRequires: python3-pyOpenSSL
|
|
|
|
|
BuildRequires: python3-idna
|
|
|
|
|
BuildRequires: python3dist(attrs)
|
|
|
|
|
BuildRequires: python3dist(idna) >= 0.6
|
|
|
|
|
BuildRequires: python3dist(pyasn1)
|
|
|
|
|
BuildRequires: python3dist(pyasn1-modules)
|
|
|
|
|
BuildRequires: python3dist(pyopenssl) >= 0.14
|
|
|
|
|
BuildRequires: python3dist(pytest)
|
|
|
|
|
%endif
|
|
|
|
|
Requires: python3-attrs
|
|
|
|
|
Requires: python3-pyasn1
|
|
|
|
|
Requires: python3-pyasn1-modules
|
|
|
|
|
Requires: python3-pyOpenSSL
|
|
|
|
|
Recommends: python3-idna
|
|
|
|
|
Requires: python3dist(attrs)
|
|
|
|
|
Requires: python3dist(pyasn1)
|
|
|
|
|
Requires: python3dist(pyasn1-modules)
|
|
|
|
|
Requires: python3dist(pyopenssl) >= 0.14
|
|
|
|
|
Recommends: python3dist(idna) >= 0.6
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{modname} %{_description}
|
|
|
|
|
|
|
|
|
|
Python 3 version.
|
|
|
|
|
|
|
|
|
|
%package -n python-%{modname}-doc
|
|
|
|
|
Summary: Service-identity documentation
|
|
|
|
|
|
|
|
|
|
%description -n python-%{modname}-doc
|
|
|
|
|
Documentation for service-identity.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
@ -97,6 +105,13 @@ Python 3 version.
|
|
|
|
|
%py3_install
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with python3}
|
|
|
|
|
# generate html docs
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} sphinx-build-3 docs html
|
|
|
|
|
# remove the sphinx-build leftovers
|
|
|
|
|
rm -rf html/.{doctrees,buildinfo}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v
|
|
|
|
@ -117,9 +132,17 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
|
|
%{python3_sitelib}/%{srcname}/
|
|
|
|
|
|
|
|
|
|
%files -n python-%{modname}-doc
|
|
|
|
|
%doc html
|
|
|
|
|
%license LICENSE docs/license.rst
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Apr 10 18:38:06 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 18.1.0-1
|
|
|
|
|
- Release 18.1.0 (#1454995)
|
|
|
|
|
- Fix FTBFS with pytest 4.3 (#1693822)
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.0-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|