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