From f31aed8e79879729076f7fe23e525c90cbfeaba1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jan 21 2020 15:29:32 +0000 Subject: import python-ldap-3.1.0-5.el8 --- diff --git a/SPECS/python-ldap.spec b/SPECS/python-ldap.spec index ea2883c..66c8eaa 100644 --- a/SPECS/python-ldap.spec +++ b/SPECS/python-ldap.spec @@ -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 - 3.1.0-5 +- Require platform-python-setuptools instead of python3-setuptools +- Resolves: rhbz#1650537 + * Mon Jul 09 2018 Petr Viktorin - 3.1.0-4 - Don't build the python2 subpackage (fix for the previous commit)