automatic version update by autodist [release 3.4.2-1mamba;Wed Aug 10 2022]

This commit is contained in:
Automatic Build System 2024-01-06 11:22:47 +01:00
parent e8e4ae1dc6
commit b194fe0c1d

View File

@ -1,20 +1,26 @@
Name: python-ldap Name: python-ldap
Version: 3.3.1 Version: 3.4.2
Release: 1mamba 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: https://www.python-ldap.org/en/python-ldap-3.4.2/
Source: https://github.com/python-ldap/python-ldap.git/python-ldap-%{version}/python-ldap-%{version}.tar.bz2 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 #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
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libopenldap-devel
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(pyasn1)
BuildRequires: python3.7dist(pyasn1-modules)
## AUTOBUILDREQ-END
BuildRequires: libpython-devel BuildRequires: libpython-devel
Requires: python >= %{pyver} Requires: python >= %{pyver}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME: # FIXME:
# file Lib/ldap.py (for module ldap) not found # file Lib/ldap.py (for module ldap) not found
@ -25,6 +31,10 @@ python-ldap provides an object-oriented API to access LDAP directory servers fro
Mainly it wraps the OpenLDAP 2.x libs for that purpose. Mainly it wraps the OpenLDAP 2.x libs for that purpose.
Additionally the package contains modules for other LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 schema, etc.). Additionally the package contains modules for other LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 schema, etc.).
%if 0%{?with_pyver}
%pyver_package
%endif
%prep %prep
%setup -q %setup -q
#%patch0 -p1 #%patch0 -p1
@ -42,16 +52,21 @@ export CFLAGS="%{optflags}"
--install-lib=%{python_sitearch} \ --install-lib=%{python_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/python_ldap-%{version}-py*.egg-info
%{python_sitearch}/python_ldap-%{version}-py*.egg-info/*
%doc LICENCE %doc LICENCE
%changelog %changelog
* Wed Aug 10 2022 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
- automatic version update by autodist
* Fri Jul 03 2020 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba * Fri Jul 03 2020 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
- automatic version update by autodist - automatic version update by autodist