rpms/python-ldap/devel .cvsignore, 1.6, 1.7 python-ldap-2.2.0-dirs.patch, 1.2, 1.3 python-ldap.spec, 1.23, 1.24 sources, 1.6, 1.7

Tom Callaway spot at fedoraproject.org
Wed Sep 3 18:00:24 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/python-ldap/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20640

Modified Files:
	.cvsignore python-ldap-2.2.0-dirs.patch python-ldap.spec 
	sources 
Log Message:
update to 2.3.5, fix license tag


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-ldap/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore	10 Oct 2007 20:07:51 -0000	1.6
+++ .cvsignore	3 Sep 2008 17:59:54 -0000	1.7
@@ -1 +1 @@
-python-ldap-2.3.1.tar.gz
+python-ldap-2.3.5.tar.gz

python-ldap-2.2.0-dirs.patch:

Index: python-ldap-2.2.0-dirs.patch
===================================================================
RCS file: /cvs/pkgs/rpms/python-ldap/devel/python-ldap-2.2.0-dirs.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- python-ldap-2.2.0-dirs.patch	8 Jun 2007 12:59:58 -0000	1.2
+++ python-ldap-2.2.0-dirs.patch	3 Sep 2008 17:59:54 -0000	1.3
@@ -1,12 +1,13 @@
---- 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]
- 
+diff -up python-ldap-2.3.5/setup.cfg.dirs python-ldap-2.3.5/setup.cfg
+--- python-ldap-2.3.5/setup.cfg.dirs	2008-07-06 11:04:13.000000000 -0400
++++ python-ldap-2.3.5/setup.cfg	2008-09-03 13:45:20.000000000 -0400
+@@ -2,8 +2,7 @@
+ extra_objects = 
+ extra_compile_args = 
+ libs = ldap_r lber sasl2 ssl crypto
 -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 = 
- extra_objects = 
+ [egg_info]
+ tag_build = 


Index: python-ldap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-ldap/devel/python-ldap.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- python-ldap.spec	17 Feb 2008 16:14:08 -0000	1.23
+++ python-ldap.spec	3 Sep 2008 17:59:54 -0000	1.24
@@ -5,15 +5,15 @@
 ### Abstract ###
 
 Name: python-ldap
-Version: 2.3.1
-Release: 3%{?dist}
+Version: 2.3.5
+Release: 1%{?dist}
 Epoch: 0
-License: PSF - see LICENCE
+License: Python
 Group: System Environment/Libraries
-Summary: An object-oriented API to access LDAP directory servers.
+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
+Source0: http://download.sourceforge.net/python-ldap/python-ldap-%{version}.tar.gz
 
 ### Patches ###
 
@@ -41,25 +41,38 @@
 %setup -q -n python-ldap-%{version}
 %patch0 -p1 -b .dirs
 
+# clean up cvs hidden files
+rm -rf Demo/Lib/ldap/.cvsignore Demo/.cvsignore Demo/Lib/ldif/.cvsignore Demo/Lib/ldap/async/.cvsignore \
+       Demo/Lib/.cvsignore Demo/Lib/ldapurl/.cvsignore
+
+# Fix interpreter
+sed -i 's|#! python|#!/usr/bin/python|g' Demo/simplebrowse.py
+
 %build
 %{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__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/%{python_sitearch}/* -type d \
-  | sed "s|^$RPM_BUILD_ROOT|%dir |" >> %{name}-%{version}.files
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}-%{version}.files
+%files
 %defattr(-,root,root,-)
 %doc LICENCE CHANGES README TODO Demo
+%{python_sitearch}/_ldap.so
+%{python_sitearch}/dsml.py*
+%{python_sitearch}/ldapurl.py*
+%{python_sitearch}/ldif.py*
+%{python_sitearch}/ldap/
+%{python_sitearch}/python_ldap-%{version}-*.egg-info/
 
 %changelog
+* Wed Sep  3 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0:2.3.5-1
+- fix license tag
+- update to 2.3.5
+
 * Sun Feb 17 2008 Matthew Barnes <mbarnes at redhat.com> - 0:2.3.1-3.fc9
 - Rebuild with GCC 4.3
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-ldap/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	10 Oct 2007 20:07:51 -0000	1.6
+++ sources	3 Sep 2008 17:59:54 -0000	1.7
@@ -1 +1 @@
-1a97e0fef2567e30d75ed137a8914559  python-ldap-2.3.1.tar.gz
+c9732621075edc65b54233fff21fe07c  python-ldap-2.3.5.tar.gz




More information about the fedora-extras-commits mailing list