Group :: Development/Python3
RPM: python3-module-ldap3
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname ldap3
Summary: A strictly RFC 4511 conforming LDAP V3 pure Python 3 client - Python 2 compatible
Name: python3-module-%oname
Version: 2.9
Release: alt1
License: LGPLv3
Group: Development/Python3
BuildArch: noarch
Url: https://pypi.org/project/ldap3/
# https://github.com/cannatag/ldap3.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
%py3_provides %oname
%description
python-ldap provides an object-oriented API to access LDAP
directory servers from Python programs. 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 sub-schema, etc.).
%prep
%setup
# it is stated in comment that this file is used for python2 only, remove it for python3
rm -f ldap3/utils/ordDict.py
%build
%python3_build_debug
%install
%python3_install
%files
%doc *.txt *.rst
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here
%define oname ldap3
Summary: A strictly RFC 4511 conforming LDAP V3 pure Python 3 client - Python 2 compatible
Name: python3-module-%oname
Version: 2.9
Release: alt1
License: LGPLv3
Group: Development/Python3
BuildArch: noarch
Url: https://pypi.org/project/ldap3/
# https://github.com/cannatag/ldap3.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
%py3_provides %oname
%description
python-ldap provides an object-oriented API to access LDAP
directory servers from Python programs. 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 sub-schema, etc.).
%prep
%setup
# it is stated in comment that this file is used for python2 only, remove it for python3
rm -f ldap3/utils/ordDict.py
%build
%python3_build_debug
%install
%python3_install
%files
%doc *.txt *.rst
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here