From 80c56db54eb248a26e39ea4296ff6d94620090fa8320d4111c1f0dfac92a8f15 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Tue, 11 Oct 2011 12:53:10 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-ldap?expand=0&rev=12 --- python-ldap-2.3.13.tar.bz2 | 3 --- python-ldap-2.4.3.tar.gz | 3 +++ python-ldap.changes | 11 +++++++++++ python-ldap.spec | 14 ++++++-------- 4 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 python-ldap-2.3.13.tar.bz2 create mode 100644 python-ldap-2.4.3.tar.gz diff --git a/python-ldap-2.3.13.tar.bz2 b/python-ldap-2.3.13.tar.bz2 deleted file mode 100644 index 57e11a8..0000000 --- a/python-ldap-2.3.13.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bef58ac6a2f8a7d6ac1d772c311860bda366cf45f583358b0433d57a7a8c066a -size 93147 diff --git a/python-ldap-2.4.3.tar.gz b/python-ldap-2.4.3.tar.gz new file mode 100644 index 0000000..1fa6f8d --- /dev/null +++ b/python-ldap-2.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88fb00ed5811e3df49d0f28317a48be2ae7e46252e473923005c7eb292d25e9d +size 125989 diff --git a/python-ldap.changes b/python-ldap.changes index 92b52ae..e5e324e 100644 --- a/python-ldap.changes +++ b/python-ldap.changes @@ -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 diff --git a/python-ldap.spec b/python-ldap.spec index b271b1b..2ee4d06 100644 --- a/python-ldap.spec +++ b/python-ldap.spec @@ -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