Hello community, here is the log from the commit of package python-ndg-httpsclient for openSUSE:Factory checked in at 2017-09-05 15:15:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ndg-httpsclient (Old) and /work/SRC/openSUSE:Factory/.python-ndg-httpsclient.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ndg-httpsclient" Tue Sep 5 15:15:03 2017 rev:2 rq:519151 version:0.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ndg-httpsclient/python-ndg-httpsclient.changes 2016-01-01 19:47:58.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-ndg-httpsclient.new/python-ndg-httpsclient.changes 2017-09-05 15:15:04.998391623 +0200 @@ -1,0 +2,5 @@ +Thu Aug 24 13:46:22 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -40,0 +46 @@ + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ndg-httpsclient.spec ++++++ --- /var/tmp/diff_new_pack.M0lxDv/_old 2017-09-05 15:15:05.658298864 +0200 +++ /var/tmp/diff_new_pack.M0lxDv/_new 2017-09-05 15:15:05.662298302 +0200 @@ -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 @@ 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 @@ %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