## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 19; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-connection_pool Version: 0.0.3 Release: %autorelease Summary: Thread-safe connection pool for python # SPDX License: MIT URL: https://github.com/zhouyl/ConnectionPool Source: %{url}/archive/%{version}/connection_pool-%{version}.tar.gz BuildSystem: pyproject BuildOption(install): -l connection_pool BuildArch: noarch %global common_description %{expand: %{summary}.} %description %{common_description} %package -n python3-connection-pool Summary: %{summary} # The source package is named python-connection_pool for historical reasons. # The binary package, python3-connection-pool, is named using the canonical # project name[1]; see also [2]. # # The %%py_provides macro is used to provide an upgrade path from # python3-connection_pool and to produce the appropriate Provides for the # importable module[3]. # # [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_canonical_project_name # [2] https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_library_naming # [3] https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_provides_for_importable_modules # Provide an upgrade path; we can remove this after Fedora 45. %py_provides python3-connection_pool Obsoletes: python3-connection_pool < 0.0.3-18 %description -n python3-connection-pool %{common_description} # Upstream provides no tests. %files -n python3-connection-pool -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Wed May 07 2025 Benjamin A. Beasley - 0.0.3-19 - F41+: Use the provisional pyproject declarative buildsystem * Wed May 07 2025 Benjamin A. Beasley - 0.0.3-18 - Rename the binary RPM to match the canonical project name * Wed May 07 2025 Benjamin A. Beasley - 0.0.3-17 - Convert to pyproject-rpm-macros, simplify, and modernize packaging * Sat Jan 18 2025 Fedora Release Engineering - 0.0.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 0.0.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.0.3-12 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.0.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.0.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.0.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.0.3-8 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.0.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.0.3-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.0.3-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 22 2021 Aniket Pradhan - 0.0.3-2 - Update package description * Sat Jun 19 2021 Aniket Pradhan - 0.0.3-1 - Initial build ## END: Generated by rpmautospec