%global srcname ldappool Name: python-%{srcname} Version: 3.0.0 Release: 12%{?dist} Url: https://github.com/openstack/ldappool Summary: A connection pool for python-ldap # Automatically converted from old format: MPLv1.1 and GPLv2+ and LGPLv2+ - review is highly recommended. License: LicenseRef-Callaway-MPLv1.1 AND GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ Source: https://files.pythonhosted.org/packages/source/l/%{srcname}/%{srcname}-%{version}.tar.gz # TODO(jcapitao): remove the patches below once https://review.opendev.org/c/openstack/ldappool/+/805495 # and https://review.opendev.org/c/openstack/ldappool/+/882455/ are merged and included in a new release Patch0001: 0001-Fix-pep8-gate.patch Patch0002: 0002-Remove-usage-of-six-library.patch BuildArch: noarch %global _description\ A simple connector pool for python-ldap.\ \ The pool keeps LDAP connectors alive and let you reuse them,\ drastically reducing the time spent to initiate a ldap connection.\ \ The pool has useful features like:\ \ - transparent re-connection on failures or server restarts\ - configurable pool size and connectors timeouts\ - configurable max lifetime for connectors\ - a context manager to simplify acquiring and releasing a connector %description %_description %package -n python3-%{srcname} Summary: %summary BuildRequires: python3-devel BuildRequires: python3-ldap BuildRequires: python3-pbr BuildRequires: python3-stestr BuildRequires: python3-testtools BuildRequires: python3-testresources %description -n python3-%{srcname} %_description %prep %autosetup -p1 -n %{srcname}-%{version} %build %py3_build %install %py3_install %check PYTHON=python3 stestr-3 run # FIXME: add license files as soon as upstream adds them # https://github.com/mozilla-services/ldappool/issues/2 %files -n python3-%{srcname} %doc README.rst %{python3_sitelib}/%{srcname} %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info %changelog * Wed Sep 04 2024 Miroslav Suchý - 3.0.0-12 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 3.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 3.0.0-10 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 03 2023 Python Maint - 3.0.0-6 - Rebuilt for Python 3.12 * Tue May 23 2023 Joel Capitao - 3.0.0-5 - Remove usage of six library * Fri Jan 20 2023 Fedora Release Engineering - 3.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 3.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 16 2022 Python Maint - 3.0.0-2 - Rebuilt for Python 3.11 * Wed Feb 23 2022 Karolina Kula - 3.0.0-1 - Update to 3.0.0 - Remove python2 subpackage * Fri Jan 21 2022 Fedora Release Engineering - 2.4.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.4.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.4.0-10 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 2.4.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.4.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 2.4.0-7 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 2.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 2.4.0-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 2.4.0-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 2.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Feb 20 2019 Alfredo Moralejo - 2.4.0-2 - Fix name for python-ldap requirement for compatibility with CentOS7 builds. * Wed Feb 13 2019 Alfredo Moralejo - 2.4.0-1 - Update to 2.4.0 * Sat Feb 02 2019 Fedora Release Engineering - 2.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Oct 11 2018 Miro Hrončok - 2.1.0-5 - Python2 binary package has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 2.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 2.1.0-3 - Rebuilt for Python 3.7 * Tue Jun 19 2018 Miro Hrončok - 2.1.0-2 - Rebuilt for Python 3.7 * Fri Apr 13 2018 Iryna Shcherbina - 2.1.0-1 - Update to version 2.1.0 and run tests - Add a Python 3 subpackage - Add dependency on python-setuptools * Fri Feb 09 2018 Fedora Release Engineering - 1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 25 2018 Iryna Shcherbina - 1.0-11 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 1.0-10 - Python 2 binary package renamed to python2-ldappool See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Jul 27 2017 Fedora Release Engineering - 1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Fedora Release Engineering - 1.0-7 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.0-1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 28 2012 Haïkel Guémar - 1.0-0 - initial packaging