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