[packages/python-ldap] cleanup bogus paths from build

glen glen at pld-linux.org
Wed Jan 30 11:02:06 CET 2013


commit fec0f30948819a44d4ff37b5c581c04156ab6356
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 30 11:55:33 2013 +0200

    cleanup bogus paths from build

 build.patch      | 10 ++++++++++
 python-ldap.spec |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/python-ldap.spec b/python-ldap.spec
index 321ca2b..eacd37f 100644
--- a/python-ldap.spec
+++ b/python-ldap.spec
@@ -14,6 +14,7 @@ Group:		Libraries/Python
 Source0:	http://pypi.python.org/packages/source/p/python-ldap/%{name}-%{version}.tar.gz
 # Source0-md5:	d76131af192771567d3f2d2aff9469a9
 Patch0:		%{name}-sasl2.patch
+Patch1:		build.patch
 URL:		http://python-ldap.sourceforge.net/
 BuildRequires:	cyrus-sasl >= 2.1.0
 BuildRequires:	openldap-devel >= 2.4.6
@@ -35,6 +36,7 @@ Moduł ten umożliwia dostęp do bibliotek LDAP.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 CC="%{__cc}" \
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..d90de6f
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,10 @@
+--- python-ldap-2.4.10/setup.cfg~	2012-06-07 21:41:34.000000000 +0300
++++ python-ldap-2.4.10/setup.cfg	2013-01-30 11:54:18.897363390 +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/fec0f30948819a44d4ff37b5c581c04156ab6356



More information about the pld-cvs-commit mailing list