|
|
368f13 |
%bcond_without check
|
|
|
368f13 |
|
|
|
368f13 |
%global modname service-identity
|
|
|
368f13 |
%global srcname service_identity
|
|
|
368f13 |
|
|
|
368f13 |
Name: python-%{modname}
|
|
|
368f13 |
Version: 18.1.0
|
|
|
368f13 |
Release: 9%{?dist}
|
|
|
368f13 |
Summary: Service identity verification for pyOpenSSL
|
|
|
368f13 |
|
|
|
368f13 |
License: MIT
|
|
|
368f13 |
URL: https://github.com/pyca/service_identity
|
|
|
368f13 |
Source0: %{url}/archive/%{version}/%{modname}-%{version}.tar.gz
|
|
|
368f13 |
|
|
|
368f13 |
BuildArch: noarch
|
|
|
368f13 |
|
|
|
368f13 |
%global _description \
|
|
|
368f13 |
Service Identity Verification for pyOpenSSL.\
|
|
|
368f13 |
\
|
|
|
368f13 |
TL;DR: Use this package if you use pyOpenSSL and don’t want to be MITMed.\
|
|
|
368f13 |
\
|
|
|
368f13 |
service_identity aspires to give you all the tools you need for verifying\
|
|
|
368f13 |
whether a certificate is valid for the intended purposes.\
|
|
|
368f13 |
\
|
|
|
368f13 |
In the simplest case, this means host name verification. However,\
|
|
|
368f13 |
service_identity implements RFC 6125 fully and plans to add other\
|
|
|
368f13 |
relevant RFCs too.
|
|
|
368f13 |
|
|
|
368f13 |
%description %{_description}
|
|
|
368f13 |
|
|
|
368f13 |
%package -n python3-%{modname}
|
|
|
368f13 |
Summary: %{summary}
|
|
|
368f13 |
%{?python_provide:%python_provide python3-%{modname}}
|
|
|
368f13 |
BuildRequires: python3-devel
|
|
|
368f13 |
BuildRequires: python3dist(setuptools)
|
|
|
368f13 |
BuildRequires: python3dist(sphinx)
|
|
|
368f13 |
%if %{with check}
|
|
|
368f13 |
BuildRequires: python3dist(attrs)
|
|
|
368f13 |
BuildRequires: python3dist(idna) >= 0.6
|
|
|
368f13 |
BuildRequires: python3dist(pyasn1)
|
|
|
368f13 |
BuildRequires: python3dist(pyasn1-modules)
|
|
|
368f13 |
BuildRequires: python3dist(pyopenssl) >= 0.14
|
|
|
368f13 |
BuildRequires: python3dist(pytest)
|
|
|
368f13 |
%endif
|
|
|
368f13 |
Requires: python3dist(attrs)
|
|
|
368f13 |
Requires: python3dist(pyasn1)
|
|
|
368f13 |
Requires: python3dist(pyasn1-modules)
|
|
|
368f13 |
Requires: python3dist(pyopenssl) >= 0.14
|
|
|
368f13 |
Recommends: python3dist(idna) >= 0.6
|
|
|
368f13 |
|
|
|
368f13 |
%description -n python3-%{modname} %{_description}
|
|
|
368f13 |
|
|
|
368f13 |
Python 3 version.
|
|
|
368f13 |
|
|
|
368f13 |
%package -n python-%{modname}-doc
|
|
|
368f13 |
Summary: Service-identity documentation
|
|
|
368f13 |
|
|
|
368f13 |
%description -n python-%{modname}-doc
|
|
|
368f13 |
Documentation for service-identity.
|
|
|
368f13 |
|
|
|
368f13 |
%prep
|
|
|
368f13 |
%autosetup -n %{modname}-%{version}
|
|
|
368f13 |
|
|
|
368f13 |
%build
|
|
|
368f13 |
%py3_build
|
|
|
368f13 |
|
|
|
368f13 |
%install
|
|
|
368f13 |
%py3_install
|
|
|
368f13 |
|
|
|
368f13 |
# generate html docs
|
|
|
368f13 |
PYTHONPATH=%{buildroot}%{python3_sitelib} sphinx-build-3 docs html
|
|
|
368f13 |
# remove the sphinx-build leftovers
|
|
|
368f13 |
rm -rf html/.{doctrees,buildinfo}
|
|
|
368f13 |
|
|
|
368f13 |
%if %{with check}
|
|
|
368f13 |
%check
|
|
|
368f13 |
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
|
|
|
368f13 |
%endif
|
|
|
368f13 |
|
|
|
368f13 |
%files -n python3-%{modname}
|
|
|
368f13 |
%license LICENSE
|
|
|
368f13 |
%doc README.rst
|
|
|
368f13 |
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
368f13 |
%{python3_sitelib}/%{srcname}/
|
|
|
368f13 |
|
|
|
368f13 |
%files -n python-%{modname}-doc
|
|
|
368f13 |
%doc html
|
|
|
368f13 |
%license LICENSE docs/license.rst
|
|
|
368f13 |
|
|
|
368f13 |
%changelog
|
|
|
368f13 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.0-9
|
|
|
368f13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
368f13 |
|
|
|
368f13 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.0-8
|
|
|
368f13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
368f13 |
|
|
|
368f13 |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 18.1.0-7
|
|
|
368f13 |
- Rebuilt for Python 3.9
|
|
|
368f13 |
|
|
|
368f13 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.0-6
|
|
|
368f13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
368f13 |
|
|
|
368f13 |
* Mon Sep 09 2019 Miro Hrončok <mhroncok@redhat.com> - 18.1.0-5
|
|
|
368f13 |
- Subpackage python2-service-identity has been removed
|
|
|
368f13 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
368f13 |
|
|
|
368f13 |
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 18.1.0-4
|
|
|
368f13 |
- Rebuilt for Python 3.8
|
|
|
368f13 |
|
|
|
368f13 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.0-3
|
|
|
368f13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
368f13 |
|
|
|
368f13 |
* Wed Jul 03 2019 Miro Hrončok <mhroncok@redhat.com> - 18.1.0-2
|
|
|
368f13 |
- Rebuilt to update automatic Python dependencies
|
|
|
368f13 |
|
|
|
368f13 |
* Wed Apr 10 18:38:06 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 18.1.0-1
|
|
|
368f13 |
- Release 18.1.0 (#1454995)
|
|
|
368f13 |
- Fix FTBFS with pytest 4.3 (#1693822)
|
|
|
368f13 |
|
|
|
368f13 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.0-12
|
|
|
368f13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
368f13 |
|
|
|
368f13 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.0-11
|
|
|
368f13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
368f13 |
|
|
|
368f13 |
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 16.0.0-10
|
|
|
368f13 |
- Rebuilt for Python 3.7
|
|
|
368f13 |
|
|
|
368f13 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.0-9
|
|
|
368f13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
368f13 |
|
|
|
368f13 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.0-8
|
|
|
368f13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
368f13 |
|
|
|
368f13 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.0-7
|
|
|
368f13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
368f13 |
|
|
|
368f13 |
* Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 16.0.0-6
|
|
|
368f13 |
- Rebuild for Python 3.6
|
|
|
368f13 |
|
|
|
368f13 |
* Mon Dec 19 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 16.0.0-5
|
|
|
368f13 |
- Modernize spec
|
|
|
368f13 |
|
|
|
368f13 |
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 16.0.0-4
|
|
|
368f13 |
- Enable tests
|
|
|
368f13 |
|
|
|
368f13 |
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 16.0.0-3
|
|
|
368f13 |
- Rebuild for Python 3.6
|
|
|
368f13 |
- Disable python3 tests for now
|
|
|
368f13 |
|
|
|
368f13 |
* Mon Oct 17 2016 Tom Prince <tom.prince@twistedmatrix.com> - 16.0.0-2
|
|
|
368f13 |
- Use python3 to test python3 package.
|
|
|
368f13 |
- Fix dependencies.
|
|
|
368f13 |
|
|
|
368f13 |
* Mon Oct 17 2016 Tom Prince <tom.prince@twistedmatrix.com> - 16.0.0-1
|
|
|
368f13 |
- Update source URL for pypi migration. (#1361604)
|
|
|
368f13 |
- Build new version
|
|
|
368f13 |
|
|
|
368f13 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.0.0-5
|
|
|
368f13 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
368f13 |
|
|
|
368f13 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.0-4
|
|
|
368f13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
368f13 |
|
|
|
368f13 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.0.0-3
|
|
|
368f13 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
368f13 |
|
|
|
368f13 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.0.0-2
|
|
|
368f13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
368f13 |
|
|
|
368f13 |
* Thu Jan 22 2015 robyduck@fedoraproject.org - 14.0.0-1
|
|
|
368f13 |
- Build new version
|
|
|
368f13 |
|
|
|
368f13 |
* Sat Jul 12 2014 tom.prince@twistedmatrix.com - 1.0.0-2
|
|
|
368f13 |
- Add python-idna dependency.
|
|
|
368f13 |
|
|
|
368f13 |
* Sat Jul 12 2014 tom.prince@twistedmatrix.com - 1.0.0-1
|
|
|
368f13 |
- Initial package.
|