update to 3.2.0 [release 3.2.0-1mamba;Sun Aug 18 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 11:22:47 +01:00
parent 598516379f
commit 8e02061cf1

View File

@ -1,13 +1,14 @@
Name: python-ldap
Version: 2.3.6
Release: 2mamba
Version: 3.2.0
Release: 1mamba
Summary: An object-oriented API to access LDAP directory servers from Python programs
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://python-ldap.sourceforge.net/
Source: http://downloads.sourceforge.net/sourceforge/python-ldap/python-ldap-%{version}.tar.gz
Source: https://github.com/python-ldap/python-ldap.git/python-ldap-%{version}/python-ldap-%{version}.tar.bz2
#Source: http://downloads.sourceforge.net/sourceforge/python-ldap/python-ldap-%{version}.tar.gz
Patch0: %{name}-2.3.5-setupcfg.patch
Patch1: %{name}-2.2.0-sasl.patch
License: GPL
@ -27,7 +28,7 @@ Additionally the package contains modules for other LDAP-related stuff (e.g. pro
%prep
%setup -q
#%patch0 -p1
%patch1 -p1
#%patch1 -p1
%build
export CFLAGS="%{optflags}"
@ -38,24 +39,22 @@ export CFLAGS="%{optflags}"
%{__python} setup.py install \
--root=%{buildroot} \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%files -f %{name}.filelist
%defattr(-,root,root)
%{python_sitearch}/*.so
%{python_sitearch}/*.py*
%{python_sitearch}/python_ldap-%{version}-*-info/*
%dir %{python_sitearch}/ldap
%{python_sitearch}/ldap/*.py*
%dir %{python_sitearch}/ldap/schema
%{python_sitearch}/ldap/schema/*.py*
%doc CHANGES LICENCE README TODO
%doc Demo
%doc LICENCE
%changelog
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-1mamba
- update to 3.2.0
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.6-2mamba
- python 2.7 mass rebuild