1
0

Accepting request 518678 from devel:languages:python:singlespec-staging

- singlespec auto-conversion

OBS-URL: https://build.opensuse.org/request/show/518678
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ndg-httpsclient?expand=0&rev=3
This commit is contained in:
Jan Matejek 2017-08-28 14:27:18 +00:00 committed by Git OBS Bridge
parent ac2d07d7a6
commit d743379fa7
2 changed files with 21 additions and 16 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 24 13:46:22 UTC 2017 - jmatejek@suse.com
- singlespec auto-conversion
-------------------------------------------------------------------
Fri Jun 12 07:20:53 UTC 2015 - t.gruner@katodev.de
@ -38,3 +43,4 @@ Fri Jun 12 07:20:53 UTC 2015 - t.gruner@katodev.de
0.1.0
-----
Initial release

View File

@ -1,7 +1,7 @@
#
# spec file for package python-ndg-httpsclient
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -13,25 +13,25 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ndg-httpsclient
Version: 0.4.0
Release: 0
License: BSD-2-Clause
Summary: Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL
Url: https://github.com/cedadev/ndg_httpsclient/
License: BSD-2-Clause
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/n/ndg-httpsclient/ndg_httpsclient-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
Url: https://github.com/cedadev/ndg_httpsclient/
Source: https://files.pythonhosted.org/packages/source/n/ndg_httpsclient/ndg_httpsclient-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%python_subpackages
%description
This is a HTTPS client implementation for httplib and urllib2 based on
@ -39,7 +39,6 @@ PyOpenSSL. PyOpenSSL provides a more fully featured SSL implementation over the
default provided with Python and importantly enables full verification of the
SSL peer.
Prerequisites
=============
This has been developed and tested for Python 2.6 and 2.7 with pyOpenSSL 0.13 and 0.14.
@ -51,15 +50,15 @@ verification with subjectAltNames.
%setup -q -n ndg_httpsclient-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%fdupes %{buildroot}
%files
%files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/*
%{_bindir}/ndg_httpclient
%python3_only %{_bindir}/ndg_httpclient
%changelog
%changelog