From 1bdde12e1fa66a6901afdae9fad67b8a9ccaa6a8 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 05 2019 20:20:10 +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)