diff --git a/python-ldap-3.0.0b4.tar.gz b/python-ldap-3.0.0b4.tar.gz deleted file mode 100644 index 4fa2437..0000000 --- a/python-ldap-3.0.0b4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a7e39a47c356050977613e00be64f09f47adef0e26ed40c6303c41d534066c6 -size 363829 diff --git a/python-ldap-3.1.0.tar.gz b/python-ldap-3.1.0.tar.gz new file mode 100644 index 0000000..aa04696 --- /dev/null +++ b/python-ldap-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41975e79406502c092732c57ef0c2c2eb318d91e8e765f81f5d4ab6c1db727c5 +size 366019 diff --git a/python-ldap.changes b/python-ldap.changes index fa9eb10..3a4bb9b 100644 --- a/python-ldap.changes +++ b/python-ldap.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Aug 7 17:43:33 UTC 2018 - michael@stroeder.com + +- 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 410f895..37d4f71 100644 --- a/python-ldap.spec +++ b/python-ldap.spec @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ldap -Version: 3.0.0b4 +Version: 3.1.0 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