forked from pool/python-ldap
Accepting request 87384 from devel:languages:python
- removed sasl.patch as it is no longer necessary - update to 2.4.3 * requires OpenLDAP 2.4.11 or higher * improved documentation * backwards-incompatible API for ldap.control * a couple new features, e.g. support for OPT_X_TLS_PACKAGE * improved LDAPv3 support OBS-URL: https://build.opensuse.org/request/show/87384 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ldap?expand=0&rev=14
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bef58ac6a2f8a7d6ac1d772c311860bda366cf45f583358b0433d57a7a8c066a
|
||||
size 93147
|
||||
3
python-ldap-2.4.3.tar.gz
Normal file
3
python-ldap-2.4.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:88fb00ed5811e3df49d0f28317a48be2ae7e46252e473923005c7eb292d25e9d
|
||||
size 125989
|
||||
@@ -1,11 +0,0 @@
|
||||
--- Modules/LDAPObject.c
|
||||
+++ Modules/LDAPObject.c
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "options.h"
|
||||
|
||||
#ifdef HAVE_SASL
|
||||
-#include <sasl.h>
|
||||
+#include <sasl/sasl.h>
|
||||
#endif
|
||||
|
||||
static void free_attrs(char***);
|
||||
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 11 12:45:02 UTC 2011 - jmatejek@suse.com
|
||||
|
||||
- removed sasl.patch as it is no longer necessary
|
||||
- update to 2.4.3
|
||||
* requires OpenLDAP 2.4.11 or higher
|
||||
* improved documentation
|
||||
* backwards-incompatible API for ldap.control
|
||||
* a couple new features, e.g. support for OPT_X_TLS_PACKAGE
|
||||
* improved LDAPv3 support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 3 08:47:08 UTC 2011 - saschpe@suse.de
|
||||
|
||||
|
||||
@@ -19,17 +19,16 @@
|
||||
|
||||
|
||||
Name: python-ldap
|
||||
BuildRequires: fdupes krb5-devel openldap2-devel >= 2.3 python-devel
|
||||
Requires: openldap2-client >= 2.3
|
||||
BuildRequires: fdupes krb5-devel openldap2-devel >= 2.4.11 python-devel
|
||||
Requires: openldap2-client >= 2.4.11
|
||||
License: Public Domain, Freeware
|
||||
Group: Development/Libraries/Python
|
||||
AutoReqProv: on
|
||||
Version: 2.3.13
|
||||
Version: 2.4.3
|
||||
Release: 1
|
||||
Summary: Python LDAP interface
|
||||
Url: http://python-ldap.sourceforge.net/
|
||||
Source: python-ldap-%{version}.tar.bz2
|
||||
Patch0: python-ldap-sasl.patch
|
||||
Url: http://www.python-ldap.org/
|
||||
Source: http://pypi.python.org/packages/source/p/python-ldap/python-ldap-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{py_requires}
|
||||
|
||||
@@ -41,12 +40,11 @@ python-ldap pages on http://python-ldap.sourceforge.net/
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch0
|
||||
cp Build/setup.cfg.suse-linux setup.cfg
|
||||
find -name ".CVS" -o -name ".cvsignore" -exec rm -rf {} ";"
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED"
|
||||
#export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED"
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
|
||||
Reference in New Issue
Block a user