update to 2.3.5, fix license tag

This commit is contained in:
Tom Callaway 2008-09-03 17:59:54 +00:00
parent e505494008
commit 6b89b38301
4 changed files with 35 additions and 21 deletions

View File

@ -1 +1 @@
python-ldap-2.3.1.tar.gz python-ldap-2.3.5.tar.gz

View File

@ -1,12 +1,13 @@
--- python-ldap-2.3/setup.cfg.dirs 2006-11-15 12:26:26.000000000 -0500 diff -up python-ldap-2.3.5/setup.cfg.dirs python-ldap-2.3.5/setup.cfg
+++ python-ldap-2.3/setup.cfg 2007-06-08 08:55:58.000000000 -0400 --- python-ldap-2.3.5/setup.cfg.dirs 2008-07-06 11:04:13.000000000 -0400
@@ -7,8 +7,7 @@ +++ python-ldap-2.3.5/setup.cfg 2008-09-03 13:45:20.000000000 -0400
# for wrapping OpenLDAP 2 libs @@ -2,8 +2,7 @@
[_ldap] extra_objects =
extra_compile_args =
libs = ldap_r lber sasl2 ssl crypto
-library_dirs = /usr/local/openldap-2.3/lib -library_dirs = /usr/local/openldap-2.3/lib
-include_dirs = /usr/local/openldap-2.3/include /usr/include/sasl -include_dirs = /usr/local/openldap-2.3/include /usr/include/sasl
+include_dirs = /usr/include/sasl +include_dirs = /usr/include/sasl
extra_compile_args = [egg_info]
extra_objects = tag_build =

View File

@ -5,15 +5,15 @@
### Abstract ### ### Abstract ###
Name: python-ldap Name: python-ldap
Version: 2.3.1 Version: 2.3.5
Release: 3%{?dist} Release: 1%{?dist}
Epoch: 0 Epoch: 0
License: PSF - see LICENCE License: Python
Group: System Environment/Libraries 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/ URL: http://python-ldap.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source: python-ldap-%{version}.tar.gz Source0: http://download.sourceforge.net/python-ldap/python-ldap-%{version}.tar.gz
### Patches ### ### Patches ###
@ -41,25 +41,38 @@ OpenLDAP 2.x libraries, and contains modules for other LDAP-related tasks
%setup -q -n python-ldap-%{version} %setup -q -n python-ldap-%{version}
%patch0 -p1 -b .dirs %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 %build
%{__python} setup.py build %{__python} setup.py build
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --root=$RPM_BUILD_ROOT \ %{__python} setup.py install --skip-build --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
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files -f %{name}-%{version}.files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENCE CHANGES README TODO Demo %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 %changelog
* Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:2.3.5-1
- fix license tag
- update to 2.3.5
* Sun Feb 17 2008 Matthew Barnes <mbarnes@redhat.com> - 0:2.3.1-3.fc9 * Sun Feb 17 2008 Matthew Barnes <mbarnes@redhat.com> - 0:2.3.1-3.fc9
- Rebuild with GCC 4.3 - Rebuild with GCC 4.3

View File

@ -1 +1 @@
1a97e0fef2567e30d75ed137a8914559 python-ldap-2.3.1.tar.gz c9732621075edc65b54233fff21fe07c python-ldap-2.3.5.tar.gz