import python-ldap-3.1.0-5.el8

This commit is contained in:
CentOS Sources 2019-11-05 15:20:10 -05:00 committed by Andrew Lukoshko
parent a261e4bcd1
commit 57454f8b5a
1 changed files with 9 additions and 1 deletions

View File

@ -14,7 +14,7 @@
Name: python-ldap
Version: 3.1.0
Release: 4%{?dist}
Release: 5%{?dist}
License: Python
Group: System Environment/Libraries
Summary: An object-oriented API to access LDAP directory servers
@ -76,7 +76,11 @@ Summary: %{summary}
Requires: openldap >= %{openldap_version}
Requires: python3-pyasn1 >= 0.3.7
Requires: python3-pyasn1-modules >= 0.1.5
%if 0%{?rhel} && 0%{?rhel} >= 8
Requires: platform-python-setuptools
%else
Requires: python3-setuptools
%endif
%{?python_provide:%python_provide python3-ldap}
Obsoletes: python3-pyldap < 3
Provides: python3-pyldap = %{version}-%{release}
@ -167,6 +171,10 @@ popd
%{python3_sitearch}/python_ldap-%{version}%{?prerelease}-py%{python3_version}.egg-info
%changelog
* Fri Nov 16 2018 Lumír Balhar <lbalhar@redhat.com> - 3.1.0-5
- Require platform-python-setuptools instead of python3-setuptools
- Resolves: rhbz#1650537
* Mon Jul 09 2018 Petr Viktorin <pviktori@redhat.com> - 3.1.0-4
- Don't build the python2 subpackage
(fix for the previous commit)