Accepting request 317792 from home:nemysis:branches:devel:languages:python

Please accept these changes.

OBS-URL: https://build.opensuse.org/request/show/317792
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-service_identity?expand=0&rev=3
This commit is contained in:
Denisart Benjamin 2015-07-26 12:32:18 +00:00 committed by Git OBS Bridge
parent 95add171f9
commit 04c1ca21c6
2 changed files with 42 additions and 25 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jul 21 12:30:36 UTC 2015 - nemysis@gmx.ch
- Change URL
- Use %{oname} instead of service_identity
- Add BuildRequires for python-Sphinx for Documentation
- Change Description
- Change Documentation add index.html
- Add Man Page
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 16 23:49:31 UTC 2015 - jacobwinski@gmail.com Thu Jul 16 23:49:31 UTC 2015 - jacobwinski@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-service_identity # spec file for package python-service_identity
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 LISA GmbH, Bingen, Germany. # Copyright (c) 2014 LISA GmbH, Bingen, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -14,30 +14,33 @@
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define oname service_identity
Name: python-service_identity Name: python-service_identity
Version: 14.0.0 Version: 14.0.0
Release: 0 Release: 0
License: MIT
Summary: Service identity verification for pyOpenSSL Summary: Service identity verification for pyOpenSSL
Url: https://github.com/hynek/service_identity License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/s/service_identity/service_identity-%{version}.tar.gz Url: https://github.com/pyca/service_identity
Source0: https://pypi.python.org/packages/source/s/%{oname}/%{oname}-%{version}.tar.gz
BuildRequires: python-characteristic BuildRequires: python-characteristic
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-pyOpenSSL >= 0.12
BuildRequires: python-pyasn1 BuildRequires: python-pyasn1
BuildRequires: python-pyasn1-modules BuildRequires: python-pyasn1-modules
BuildRequires: python-pyOpenSSL >= 0.12
BuildRequires: python-setuptools BuildRequires: python-setuptools
# Documentation
BuildRequires: python-Sphinx
Requires: python-characteristic Requires: python-characteristic
Requires: python-pyOpenSSL >= 0.12
Requires: python-pyasn1 Requires: python-pyasn1
Requires: python-pyasn1-modules Requires: python-pyasn1-modules
Requires: python-pyOpenSSL >= 0.12
Requires: python-setuptools Requires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
@ -47,30 +50,34 @@ BuildArch: noarch
%endif %endif
%description %description
**This software is currently alpha and under review. service_identity aspires to give you all the tools you need for
Use it at your own peril.** verifying whether a certificate is valid for the intended purposes.
Any part is subject to change, but feedback is very welcome! In the simplest case, this means host name verification. However,
service_identity implements RFC 6125 fully and plans to add other
service_identity aspires to give you all the tools you need for verifying relevant RFCs too.
whether a certificate is valid for the intended purposes.
In the simplest case, this means *host name verification*. However,
service_identity implements `RFC 6125`_ fully and plans to add other relevant
RFCs too.
%prep %prep
%setup -q -n service_identity-%{version} %setup -q -n %{oname}-%{version}
%build %build
python setup.py build python setup.py build
# make man and documentation
cd docs
make man singlehtml
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# install man
install -Dm 0644 docs/_build/man/%{oname}.1 %{buildroot}%{_mandir}/man1/%{oname}.1
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS.rst LICENSE README.rst %doc AUTHORS.rst LICENSE README.rst docs/_build/singlehtml/index.html
%{python_sitelib}/* %{_mandir}/man1/%{oname}.1%{ext_man}
%{python_sitelib}/%{oname}
%{python_sitelib}/%{oname}-%{version}-py%{py_ver}.egg-info
%changelog %changelog