commit d68677dd1fb5839144bc3c700c617f0cc3970b70
Author: Jan RÄ™korajski <[email protected]>
Date:   Wed Mar 8 07:54:16 2017 +0100

    - up to 2.4.32
    - disabled tests (require openldap server)

 build.patch      | 10 ----------
 python-ldap.spec | 14 ++++++--------
 2 files changed, 6 insertions(+), 18 deletions(-)
---
diff --git a/python-ldap.spec b/python-ldap.spec
index 085077c..ab320bd 100644
--- a/python-ldap.spec
+++ b/python-ldap.spec
@@ -1,20 +1,19 @@
 #
 # Conditional build:
-%bcond_without tests   # do not perform "make test"
+%bcond_with    tests   # do not perform "make test"
 
 %define                module  ldap
 Summary:       LDAP client API for Python
 Summary(pl.UTF-8):     API klienckie LDAP dla Pythona
 Name:          python-%{module}
-Version:       2.4.19
-Release:       3
+Version:       2.4.32
+Release:       1
 Epoch:         1
 License:       Python-like
 Group:         Libraries/Python
-Source0:       
http://pypi.python.org/packages/source/p/python-ldap/%{name}-%{version}.tar.gz
-# Source0-md5: b941bf31d09739492aa19ef679e94ae3
+Source0:       
https://pypi.python.org/packages/67/d9/fa0ea70d1792875745116ad62ac8d4bcb07550b15cded591bb57df6a6d9a/%{name}-%{version}.tar.gz
+# Source0-md5: 7c46c8a04acc227a778c7900c87cdfc7
 Patch0:                %{name}-sasl2.patch
-Patch1:                build.patch
 URL:           http://python-ldap.sourceforge.net/
 BuildRequires: rpmbuild(macros) >= 1.710
 BuildRequires: cyrus-sasl >= 2.1.0
@@ -47,7 +46,6 @@ przetwarzanie LDIF, LDAPURL, podschematy LDAPv3 itp.).
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %py_build
@@ -56,7 +54,7 @@ przetwarzanie LDIF, LDAPURL, podschematy LDAPv3 itp.).
 %{__python} setup.py test
 
 LDAPNOINIT=1 \
-PYTHONPATH=$(echo build/lib.linux-*/) \
+PYTHONPATH=$(echo build-2/lib.linux-*/) \
 %{__python} -c "import ldap; print ldap.__version__; ldapo = 
ldap.initialize('ldap://localhost')"
 %endif
 
diff --git a/build.patch b/build.patch
deleted file mode 100644
index 7ccf08c..0000000
--- a/build.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- python-ldap-2.4.16/setup.cfg.orig  2014-09-10 22:33:10.277877606 +0200
-+++ python-ldap-2.4.16/setup.cfg       2014-09-10 22:33:21.851210582 +0200
-@@ -1,6 +1,5 @@
- [_ldap]
--library_dirs = /opt/openldap-RE24/lib /usr/lib
--include_dirs = /opt/openldap-RE24/include /usr/include/sasl /usr/include
-+include_dirs = /usr/include/sasl
- defines = HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
- extra_compile_args = 
- extra_objects = 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ldap.git/commitdiff/d68677dd1fb5839144bc3c700c617f0cc3970b70

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to