diff --git a/.python-ldappool.metadata b/.python-ldappool.metadata new file mode 100644 index 0000000..6df1a28 --- /dev/null +++ b/.python-ldappool.metadata @@ -0,0 +1 @@ +e81bf628b8d81183eb22e90d332ba1e65cdd5cd2 SOURCES/ldappool-3.0.0.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-ldappool.spec b/SPECS/python-ldappool.spec new file mode 100644 index 0000000..653178d --- /dev/null +++ b/SPECS/python-ldappool.spec @@ -0,0 +1,161 @@ +%global srcname ldappool + +Name: python-%{srcname} + +Version: 3.0.0 +Release: 1%{?dist} +Url: https://github.com/openstack/ldappool +Summary: A connection pool for python-ldap +License: MPLv1.1 and GPLv2+ and LGPLv2+ +Source: https://files.pythonhosted.org/packages/source/l/%{srcname}/%{srcname}-%{version}.tar.gz +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 +%setup -q -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 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 +