rpms/python-ldap/F-7 .cvsignore, 1.4, 1.5 python-ldap-2.2.0-dirs.patch, 1.1, 1.2 python-ldap.spec, 1.19, 1.20 sources, 1.4, 1.5

Matthew Barnes (mbarnes) fedora-extras-commits at redhat.com
Sat Jun 9 15:45:51 UTC 2007


Author: mbarnes

Update of /cvs/pkgs/rpms/python-ldap/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11257

Modified Files:
	.cvsignore python-ldap-2.2.0-dirs.patch python-ldap.spec 
	sources 
Log Message:

* Sat Jun 09 2007 Matthew Barnes <mbarnes at redhat.com> - 0:2.3.0-1.fc7
- Update to 2.3
- Spec file cleanups.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-ldap/F-7/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	16 May 2006 19:51:42 -0000	1.4
+++ .cvsignore	9 Jun 2007 15:45:16 -0000	1.5
@@ -1 +1 @@
-python-ldap-2.2.0.tar.gz
+python-ldap-2.3.tar.gz

python-ldap-2.2.0-dirs.patch:

Index: python-ldap-2.2.0-dirs.patch
===================================================================
RCS file: /cvs/pkgs/rpms/python-ldap/F-7/python-ldap-2.2.0-dirs.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- python-ldap-2.2.0-dirs.patch	16 May 2006 19:51:42 -0000	1.1
+++ python-ldap-2.2.0-dirs.patch	9 Jun 2007 15:45:16 -0000	1.2
@@ -1,11 +1,11 @@
---- 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
+--- python-ldap-2.3/setup.cfg.dirs	2006-11-15 12:26:26.000000000 -0500
++++ python-ldap-2.3/setup.cfg	2007-06-08 08:55:58.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
+-library_dirs = /usr/local/openldap-2.3/lib
+-include_dirs = /usr/local/openldap-2.3/include /usr/include/sasl
 +include_dirs = /usr/include/sasl
  
  extra_compile_args = 


Index: python-ldap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-ldap/F-7/python-ldap.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- python-ldap.spec	7 Dec 2006 16:37:29 -0000	1.19
+++ python-ldap.spec	9 Jun 2007 15:45:16 -0000	1.20
@@ -1,22 +1,35 @@
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
 %define openldap_version 2.1.22
 
-Name:           python-ldap
-Version:        2.2.0
-Release: 	3
-Epoch:		0
-Summary:        An object-oriented API to access LDAP directory servers.
-Group:          System Environment/Libraries
-License:        PSF - see LICENCE
-URL:            http://python-ldap.sourceforge.net/
-Source:         %{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+### Abstract ###
 
-# the openldap from RHL <= 9 and RHEL <= 3 is too old for python-ldap
-BuildRequires:  openldap-devel >= %{openldap_version}, openssl-devel
-BuildRequires:  python-devel >= 2.2, cyrus-sasl-devel
-Requires:       openldap >= %{openldap_version}
+Name: python-ldap
+Version: 2.3
+Release: 1%{?dist}
+Epoch: 0
+License: PSF - see LICENCE
+Group: System Environment/Libraries
+Summary: An object-oriented API to access LDAP directory servers.
+URL: http://python-ldap.sourceforge.net/
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Source: python-ldap-%{version}.tar.gz
+
+### Patches ###
+
+Patch0: python-ldap-2.2.0-dirs.patch
+
+### Dependencies ###
 
-Patch0:         python-ldap-2.2.0-dirs.patch
+Requires: openldap >= %{openldap_version}
+
+### Build Dependencies ###
+
+# the openldap from RHL <= 9 and RHEL <= 3 is too old for python-ldap
+BuildRequires: openldap-devel >= %{openldap_version}
+BuildRequires: openssl-devel
+BuildRequires: python-devel >= 2.2
+BuildRequires: cyrus-sasl-devel
 
 %description
 python-ldap provides an object-oriented API for working with LDAP within
@@ -25,7 +38,7 @@
 (including processing LDIF, LDAPURLs, LDAPv3 schema, etc.).
 
 %prep
-%setup -q 
+%setup -q -n python-ldap-%{version}
 %patch0 -p1 -b .dirs
 
 %build
@@ -36,7 +49,7 @@
 %{__python} setup.py install -O1 --root=$RPM_BUILD_ROOT \
   --record=INSTALLED_FILES
 sed 's|^\(.*\.pyo\)$|%ghost \1|' < INSTALLED_FILES > %{name}-%{version}.files
-find $RPM_BUILD_ROOT%{_libdir}/python?.?/site-packages/* -type d \
+find $RPM_BUILD_ROOT/%{python_sitearch}/* -type d \
   | sed "s|^$RPM_BUILD_ROOT|%dir |" >> %{name}-%{version}.files
 
 %clean
@@ -47,6 +60,10 @@
 %doc LICENCE CHANGES README TODO Demo
 
 %changelog
+* Sat Jun 09 2007 Matthew Barnes <mbarnes at redhat.com> - 0:2.3.0-1.fc7
+- Update to 2.3
+- Spec file cleanups.
+
 * Thu Dec  7 2006 Jeremy Katz <katzj at redhat.com> - 0:2.2.0-3
 - rebuild against python 2.5
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-ldap/F-7/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	16 May 2006 19:51:42 -0000	1.4
+++ sources	9 Jun 2007 15:45:16 -0000	1.5
@@ -1 +1 @@
-f17b02ef1dc6ab12d819bfef9c036627  python-ldap-2.2.0.tar.gz
+0ff25da2212237d780870354d868ffca  python-ldap-2.3.tar.gz




More information about the fedora-extras-commits mailing list