15
0
forked from pool/python-ldap

Accepting request 541096 from home:stroeder:branches:devel:languages:python

- update to upstream release 2.5.1
Changes since 2.4.45:
Mandatory prerequisites:
- Python 2.7.x
- pyasn1 0.3.7+ and pyasn1_modules 0.1.5+
Modules/
* removed unused code schema.c
Lib/
* ldap.__version__, ldap.__author__ and ldap.__license__ now
  imported from new sub-module ldap.pkginfo also to setup.py
* Added safety assertion when importing _ldap:
  ldap.pkginfo.__version__ must match _ldap.__version__
* removed stand-alone module dsml
* slapdtest.SlapdObject.restart() just restarts slapd
  without cleaning any data
* Compability changes for pyasn1 0.3.x or newer
  (thanks to Ilya Etingof and Christian Heimes)
* The methods SSSResponseControl.decodeControlValue() and
  VLVResponseControl.decodeControlValue() now follow the coding
  convention to use camel-cased ASN.1 name as class attribute name.
  The old class names are still set for back-ward compability
  but should not be used in new code because they might be removed
  in a later release.
* removed SSSRequestControl from ldap.controls.KNOWN_RESPONSE_CONTROLS
Tests/
* added explicit reconnect tests for ReconnectLDAPObject

OBS-URL: https://build.opensuse.org/request/show/541096
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=103
This commit is contained in:
Michael Ströder
2017-11-12 17:41:56 +00:00
committed by Git OBS Bridge
parent b4589e29e1
commit 188ff9cd09
6 changed files with 52 additions and 17 deletions

View File

@@ -17,7 +17,7 @@
Name: python-ldap
Version: 2.4.45
Version: 2.5.1
Release: 0
Summary: Python LDAP interface
License: Python-2.0
@@ -36,8 +36,8 @@ BuildRequires: openldap2-devel >= 2.4.11
BuildRequires: python-devel >= 2.3
BuildRequires: python-setuptools
Requires: libldap-2_4-2 >= 2.4.11
Requires: python-pyasn1
Requires: python-pyasn1-modules
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)")}