- Update to 2.2.0

- Update python-ldap-2.0.6-rpath.patch and rename it to
    python-ldap-2.2.0-dirs.patch.
This commit is contained in:
Matthew Barnes 2006-05-16 19:51:42 +00:00
parent 1cc16aecba
commit 10ed0bc9f0
4 changed files with 26 additions and 9 deletions

View File

@ -1 +1 @@
python-ldap-2.0.6.tar.gz python-ldap-2.2.0.tar.gz

View File

@ -0,0 +1,12 @@
--- python-ldap-2.2.0/setup.cfg.dirs 2005-07-28 08:56:49.000000000 -0400
+++ python-ldap-2.2.0/setup.cfg 2006-05-16 15:39:09.000000000 -0400
@@ -7,8 +7,7 @@
# for wrapping OpenLDAP 2 libs
[_ldap]
-library_dirs = /usr/local/openldap-REL_ENG_2_1/lib /usr/local/cyrus-sasl/lib
-include_dirs = /usr/local/openldap-REL_ENG_2_1/include /usr/local/cyrus-sasl/include
+include_dirs = /usr/include/sasl
extra_compile_args =
extra_objects =

View File

@ -2,24 +2,24 @@
%define openldap_version 2.1.22 %define openldap_version 2.1.22
Name: python-ldap Name: python-ldap
Version: 2.0.6 Version: 2.2.0
Release: 5.2.1 Release: 1
Epoch: 0
Summary: An object-oriented API to access LDAP directory servers. Summary: An object-oriented API to access LDAP directory servers.
Group: System Environment/Libraries Group: System Environment/Libraries
License: PSF - see LICENCE License: PSF - see LICENCE
URL: http://python-ldap.sourceforge.net/ URL: http://python-ldap.sourceforge.net/
Source0: http://dl.sf.net/sourceforge/python-ldap/python-ldap-2.0.6.tar.gz Source: %{name}-%{version}.tar.gz
Patch0: python-ldap-2.0.6-rpath.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# the openldap from RHL <= 9 and RHEL <= 3 is too old for python-ldap # the openldap from RHL <= 9 and RHEL <= 3 is too old for python-ldap
BuildRequires: openldap-devel >= %{openldap_version}, openssl-devel BuildRequires: openldap-devel >= %{openldap_version}, openssl-devel
BuildRequires: python-devel >= 2.2 BuildRequires: python-devel >= 2.2, cyrus-sasl-devel
Requires: openldap >= %{openldap_version} Requires: openldap >= %{openldap_version}
Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]") Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
Patch0: python-ldap-2.2.0-dirs.patch
%description %description
python-ldap provides an object-oriented API for working with LDAP within python-ldap provides an object-oriented API for working with LDAP within
Python programs. It allows access to LDAP directory servers by wrapping the Python programs. It allows access to LDAP directory servers by wrapping the
@ -28,7 +28,7 @@ OpenLDAP 2.x libraries, and contains modules for other LDAP-related tasks
%prep %prep
%setup -q %setup -q
%patch -p1 %patch0 -p1 -b .dirs
%build %build
%{__python} setup.py build %{__python} setup.py build
@ -49,6 +49,11 @@ rm -rf $RPM_BUILD_ROOT
%doc LICENCE CHANGES README TODO Demo %doc LICENCE CHANGES README TODO Demo
%changelog %changelog
* Tue May 15 2006 Matthew Barnes <mbarnes@redhat.com> - 2.2.0-1
- Update to 2.2.0
- Update python-ldap-2.0.6-rpath.patch and rename it to
python-ldap-2.2.0-dirs.patch.
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:2.0.6-5.2.1 * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:2.0.6-5.2.1
- bump again for double-long bug on ppc(64) - bump again for double-long bug on ppc(64)

View File

@ -1 +1 @@
59fd9345a77451b7749a28a458406695 python-ldap-2.0.6.tar.gz f17b02ef1dc6ab12d819bfef9c036627 python-ldap-2.2.0.tar.gz