From a7c643211b8c7925512b196f9909ec9fa22fc92d64f7fd5dc977d74cbbca92b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 8 Aug 2018 11:47:38 +0000 Subject: [PATCH] - update to upstream release 3.1.0: * Long-deprecated functions `ldap.open()` and `ldap.init()` are removed * `LDAPObject.compare_s()` and `compare_ext_s` return bool instead of 0 or 1 * Tons of changes see CHANGES file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=113 --- python-ldap.changes | 5 ++++- python-ldap.spec | 10 ++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/python-ldap.changes b/python-ldap.changes index 46cb8c3..3a4bb9b 100644 --- a/python-ldap.changes +++ b/python-ldap.changes @@ -1,7 +1,10 @@ ------------------------------------------------------------------- Tue Aug 7 17:43:33 UTC 2018 - michael@stroeder.com -- update to upstream release 3.1.0 +- update to upstream release 3.1.0: + * Long-deprecated functions `ldap.open()` and `ldap.init()` are removed + * `LDAPObject.compare_s()` and `compare_ext_s` return bool instead of 0 or 1 + * Tons of changes see CHANGES file ------------------------------------------------------------------- Thu Jan 18 09:04:33 UTC 2018 - fbergmann@suse.com diff --git a/python-ldap.spec b/python-ldap.spec index 3997961..37d4f71 100644 --- a/python-ldap.spec +++ b/python-ldap.spec @@ -23,8 +23,8 @@ 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 +URL: https://www.python-ldap.org/ +Source0: https://files.pythonhosted.org/packages/source/p/python-ldap/python-ldap-%{version}.tar.gz BuildRequires: %{python_module devel >= 2.7} BuildRequires: %{python_module setuptools} BuildRequires: cyrus-sasl-devel >= 2.1 @@ -38,8 +38,6 @@ 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 - %python_subpackages %description @@ -60,8 +58,8 @@ CFLAGS="%{optflags}" %python_build %fdupes %{buildroot}/%{_libdir} %files %{python_files} -%defattr(-,root,root) -%doc README Demo CHANGES TODO LICENCE +%license LICENCE +%doc README Demo CHANGES TODO %{python_sitearch}/* %changelog