Hello community, here is the log from the commit of package python-ldap for openSUSE:Factory checked in at 2018-01-20 11:27:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ldap (Old) and /work/SRC/openSUSE:Factory/.python-ldap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ldap" Sat Jan 20 11:27:55 2018 rev:48 rq:567667 version:3.0.0b4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ldap/python-ldap.changes 2017-11-21 15:34:47.691942429 +0100 +++ /work/SRC/openSUSE:Factory/.python-ldap.new/python-ldap.changes 2018-01-20 11:27:58.120847667 +0100 @@ -1,0 +2,13 @@ +Thu Jan 18 09:04:33 UTC 2018 - fbergm...@suse.com + +- update to upstream release 3.0.0b4: + - Adds support for Python 3.4+ + - Adds support for `bytes_mode` + - Idiotmatic python code changes + - Adds testing for `pypy` + - Fixes/enhances tests + +- Remove python-ldap.keyring and python-ldap-%{version}.tar.gz.asc: + There is no signature provided for the new upstream tarball + +------------------------------------------------------------------- Old: ---- python-ldap-2.5.2.tar.gz python-ldap-2.5.2.tar.gz.asc python-ldap.keyring New: ---- python-ldap-3.0.0b4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ldap.spec ++++++ --- /var/tmp/diff_new_pack.SJ0o2J/_old 2018-01-20 11:27:59.204796973 +0100 +++ /var/tmp/diff_new_pack.SJ0o2J/_new 2018-01-20 11:27:59.208796786 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-ldap # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -16,16 +16,17 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ldap -Version: 2.5.2 +Version: 3.0.0b4 Release: 0 Summary: Python LDAP interface License: Python-2.0 Group: Development/Libraries/Python Url: https://www.python-ldap.org/ Source0: https://pypi.io/packages/source/p/python-ldap/python-ldap-%{version}.tar.gz -Source1: https://pypi.io/packages/source/p/python-ldap/python-ldap-%{version}.tar.gz.asc -Source2: %{name}.keyring +BuildRequires: %{python_module devel >= 2.7} +BuildRequires: %{python_module setuptools} BuildRequires: cyrus-sasl-devel >= 2.1 BuildRequires: fdupes BuildRequires: krb5-devel @@ -33,18 +34,13 @@ BuildRequires: openldap2 BuildRequires: openldap2-client BuildRequires: openldap2-devel >= 2.4.11 -BuildRequires: python-devel >= 2.7 -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros Requires: libldap-2_4-2 >= 2.4.11 Requires: python-pyasn1 >= 0.3.7 Requires: python-pyasn1-modules >= 0.1.5 BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif -# for singlespec -Provides: python2-ldap +%python_subpackages %description python-ldap provides an object-oriented API to access LDAP directory @@ -57,13 +53,13 @@ cp Build/setup.cfg.suse-linux setup.cfg %build -CFLAGS="%{optflags}" python setup.py build +CFLAGS="%{optflags}" %python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install %fdupes %{buildroot}/%{_libdir} -%files +%files %{python_files} %defattr(-,root,root) %doc README Demo CHANGES TODO LICENCE %{python_sitearch}/* ++++++ python-ldap-2.5.2.tar.gz -> python-ldap-3.0.0b4.tar.gz ++++++ ++++ 50252 lines of diff (skipped)