Hello community, here is the log from the commit of package python-mockldap for openSUSE:Factory checked in at 2018-01-22 16:18:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mockldap (Old) and /work/SRC/openSUSE:Factory/.python-mockldap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mockldap" Mon Jan 22 16:18:10 2018 rev:2 rq:567692 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mockldap/python-mockldap.changes 2015-09-03 18:07:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-mockldap.new/python-mockldap.changes 2018-01-22 16:20:25.932563317 +0100 @@ -1,0 +2,14 @@ +Fri Jan 19 13:15:03 UTC 2018 - [email protected] + +- Fix source url + +------------------------------------------------------------------- +Thu Jan 18 08:44:24 UTC 2018 - [email protected] + +- Update to 0.3.0: + - Don’t delete attribute when moving an entry to new subtree with unchanged rdn. + Thanks to Pär Wieslander. + - Support '*' in attrlist. + - Use pyldap under Python 3. + +------------------------------------------------------------------- Old: ---- mockldap-0.2.5.tar.gz New: ---- mockldap-0.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mockldap.spec ++++++ --- /var/tmp/diff_new_pack.dGSvLH/_old 2018-01-22 16:20:26.972514674 +0100 +++ /var/tmp/diff_new_pack.dGSvLH/_new 2018-01-22 16:20:26.972514674 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-mockldap # -# Copyright (c) 2015 SUSE LINUX 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,28 +16,26 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-mockldap -Version: 0.2.5 +Version: 0.3.0 Release: 0 Summary: A simple mock implementation of python-ldap License: BSD-2-Clause Group: Development/Languages/Python Url: http://bitbucket.org/psagers/mockldap/ -Source: https://pypi.python.org/packages/source/m/mockldap/mockldap-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-funcparserlib -BuildRequires: python-ldap -BuildRequires: python-mock -BuildRequires: python-setuptools +Source: https://files.pythonhosted.org/packages/source/m/mockldap/mockldap-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module funcparserlib} +BuildRequires: %{python_module ldap} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros Requires: python-funcparserlib Requires: python-ldap Requires: python-mock -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 project provides a mock replacement for python-ldap. It's useful for any @@ -48,19 +46,12 @@ %setup -q -n mockldap-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%check -# The tests need Python 2.7 -%if 0%{?suse_version} > 1110 -python setup.py test -%endif - -%files -%defattr(-,root,root,-) +%files %{python_files} %{python_sitelib}/* %changelog ++++++ mockldap-0.2.5.tar.gz -> mockldap-0.3.0.tar.gz ++++++ ++++ 3147 lines of diff (skipped)
