From 9026f5258cbaf9e040fec70a6ba9d6adfe7e68817dab49c6a1f3d82b0972e6f1 Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 14 Apr 2017 15:30:12 +0000 Subject: [PATCH] Accepting request 487979 from home:TheBlackCat:branches:devel:languages:python Update to version 2.2.2 Implement single-spec version OBS-URL: https://build.opensuse.org/request/show/487979 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap3?expand=0&rev=5 --- ldap3-2.2.1.tar.gz | 3 --- ldap3-2.2.2.tar.gz | 3 +++ python-ldap3.changes | 21 +++++++++++++++++++++ python-ldap3.spec | 25 +++++++++++++++++-------- 4 files changed, 41 insertions(+), 11 deletions(-) delete mode 100644 ldap3-2.2.1.tar.gz create mode 100644 ldap3-2.2.2.tar.gz diff --git a/ldap3-2.2.1.tar.gz b/ldap3-2.2.1.tar.gz deleted file mode 100644 index 245d7bd..0000000 --- a/ldap3-2.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:222584a8b0112be360dac8bcbebe36d01607afda72cd4fa6408c1d873d506a10 -size 324037 diff --git a/ldap3-2.2.2.tar.gz b/ldap3-2.2.2.tar.gz new file mode 100644 index 0000000..48d0ffd --- /dev/null +++ b/ldap3-2.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ad0dd7c42a237e303fcf995718835060146d7bdf2bfa2e3c5f44756952773c9 +size 326458 diff --git a/python-ldap3.changes b/python-ldap3.changes index 7542c25..94fc465 100644 --- a/python-ldap3.changes +++ b/python-ldap3.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Fri Apr 14 15:18:01 UTC 2017 - toddrme2178@gmail.com + +- Update to version 2.2.2 + - PLAIN mechanism added to SASL authentication (thanks Janusz) + - added RESULT_RESERVED return code (thanks Rak) + - added RESPONSE_DN_ENCODING in config for flaky servers that return non utf-8 encoded DN. Set it to a list of encoding to sequentially try for decodign DNs. + - removed StopIteration in generators (deprecated by PEP 479) + - fixed a bug when converting AD datetimes on Windows systems + - added compatibility with pyasn1 0.2.3 + - fixed NTLM authentication with pyasn1 0.2.3 + - fixed an error when installing via executable on Windows (thanks TrumSteven) + - added 'raw_dn' key in search response dictionary. It contains the DN byte value returned for DN by the server + - attributes with ";binary" tag can now be retrieved in abstraction layer with the usual entry.atttribute syntax + - updated tests for OpenLDAP + - fixed error when in add/remove extend operation for case mismatch in user or group dn + - integer validator now automatically convert valid string numbers to int + - invalid timezone are checked when validating Generalized Time Format + - added test cases for validators +- Implement single-spec version + ------------------------------------------------------------------- Thu Mar 9 10:13:44 UTC 2017 - joop.boonen@opensuse.org diff --git a/python-ldap3.spec b/python-ldap3.spec index 170a396..af7ae5f 100644 --- a/python-ldap3.spec +++ b/python-ldap3.spec @@ -16,20 +16,24 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ldap3 -Version: 2.2.1 +Version: 2.2.2 Release: 0 Summary: A strictly RFC 4511 conforming LDAP V3 pure Python client License: LGPL-3.0 Group: Development/Languages/Python Url: https://github.com/cannatag/ldap3 Source: https://pypi.io/packages/source/l/ldap3/ldap3-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-pyasn1 >= 0.1.8 -BuildRequires: python-setuptools +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pyasn1 >= 0.1.8} Requires: python-pyasn1 >= 0.1.8 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +%python_subpackages %description ldap3 is a strictly RFC 4511 conforming LDAP V3 pure Python **client**. @@ -43,15 +47,20 @@ The name has been changed to avoid confusion with the python-ldap library. sed -i 's/\r$//' COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} -%files +# Files needed for tests are not included in tar.gz +# %check +# nosetests -s test + +%files %{python_files} %defattr(-,root,root,-) %doc COPYING.LESSER.txt COPYING.txt LICENSE.txt README.rst %{python_sitelib}/ldap3 -%{python_sitelib}/ldap3-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/ldap3-%{version}-py*.egg-info %changelog