Hello community,

here is the log from the commit of package python-ldap for openSUSE:Factory 
checked in at 2019-01-03 18:06:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ldap (Old)
 and      /work/SRC/openSUSE:Factory/.python-ldap.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ldap"

Thu Jan  3 18:06:19 2019 rev:52 rq:656823 version:3.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ldap/python-ldap.changes  2018-12-07 
14:39:49.586742128 +0100
+++ /work/SRC/openSUSE:Factory/.python-ldap.new.28833/python-ldap.changes       
2019-01-03 18:06:20.836155332 +0100
@@ -1,0 +2,8 @@
+Mon Dec 10 12:23:48 UTC 2018 - Tomáš Chvátal <[email protected]>
+
+- Reduce the runtime dependencies to match the actual needs
+  * User can use either openldap or 389-ds or anything else
+- Run the tests on the package
+- Fix the fdupes call
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ldap.spec ++++++
--- /var/tmp/diff_new_pack.xElEqs/_old  2019-01-03 18:06:21.492154749 +0100
+++ /var/tmp/diff_new_pack.xElEqs/_new  2019-01-03 18:06:21.496154746 +0100
@@ -26,18 +26,19 @@
 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}
+BuildRequires:  %{python_module pyasn1 >= 0.3.7}
+BuildRequires:  %{python_module pyasn1-modules >= 0.1.5}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  cyrus-sasl-devel >= 2.1
 BuildRequires:  fdupes
 BuildRequires:  krb5-devel
 BuildRequires:  libopenssl-devel >= 0.9.7
+# needed for slapd binary in tests
 BuildRequires:  openldap2
+# needed for ldapadd binary in tests
 BuildRequires:  openldap2-client
 BuildRequires:  openldap2-devel >= 2.4.11
 BuildRequires:  python-rpm-macros
-Requires:       libldap-2_4-2 >= 2.4.11
-Requires:       openldap2
-Requires:       openldap2-client
 Requires:       python-pyasn1 >= 0.3.7
 Requires:       python-pyasn1-modules >= 0.1.5
 %python_subpackages
@@ -57,7 +58,10 @@
 
 %install
 %python_install
-%fdupes %{buildroot}/%{_libdir}
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
+
+%check
+%python_exec setup.py test
 
 %files %{python_files}
 %license LICENCE


Reply via email to