## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 %global srcname persist-queue Name: python-%{srcname} Version: 1.1.0 Release: %autorelease Summary: A thread-safe disk based persistent queue in Python License: BSD-3-Clause URL: https://github.com/peter-wangxu/persist-queue Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Without this I get errors like #E ModuleNotFoundError: No module named 'module_name' BuildRequires: python3dist(aiofiles) BuildRequires: python3dist(aiosqlite) BuildRequires: python3dist(cbor2) BuildRequires: python3dist(msgpack) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-asyncio) %global _description %{expand: persist-queue implements file-based and SQLite3-based persistent queues for Python. It provides thread-safe, disk-based queue implementations that survive process crashes and restarts.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l persistqueue # Disabled due to missing dbutils and pymsql dependencies. #%%pyproject_extras_subpkg -n python3-%%{srcname} extra %pyproject_extras_subpkg -n python3-%{srcname} async %check # test_mysqlqueue.py requires dbutils, which is unavailable and only an extra requirement. %pytest --ignore=persistqueue/tests/test_mysqlqueue.py %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst docs/ASYNC_IMPLEMENTATION.md docs/async_api.md %changelog ## START: Generated by rpmautospec * Thu Jul 02 2026 Łukasz Wojniłowicz - 1.1.0-1 - Update to 1.1.0 * Thu Jul 02 2026 releng-bot - 0.8.0-17 - Unretirement request: https://pagure.io/releng/fedora-scm- requests/issue/84373 * Wed Jun 03 2026 Python Maint - 0.8.0-16 - Rebuilt for Python 3.15 * Wed Feb 11 2026 Michel Lind - 0.8.0-15 - Rebuilt without python-mock * Sat Jan 17 2026 Fedora Release Engineering - 0.8.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 19 2025 Python Maint - 0.8.0-13 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 0.8.0-12 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 0.8.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 03 2025 Python Maint - 0.8.0-10 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 0.8.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Sep 04 2024 Miroslav Suchý - 0.8.0-8 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.8.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 0.8.0-6 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 19 2023 Python Maint - 0.8.0-2 - Rebuilt for Python 3.12 * Thu Jan 26 2023 Eric Harney - 0.8.0-1 - Update to 0.8.0 * Fri Jan 20 2023 Fedora Release Engineering - 0.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.7.0-2 - Rebuilt for Python 3.11 * Mon Jan 24 2022 Eric Harney - 0.7.0-1 - Update to 0.7.0 * Fri Jan 21 2022 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.6.0-2 - Rebuilt for Python 3.10 * Wed Apr 07 2021 Eric Harney - 0.6.0-1 - Update to 0.6.0 * Wed Jan 27 2021 Fedora Release Engineering - 0.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 09 2020 Eric Harney - 0.5.1-2 - Sources for 0.5.1 * Mon Nov 09 2020 Eric Harney - 0.5.1-1 - Update to 0.5.1 * Wed Jul 29 2020 Fedora Release Engineering - 0.5.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Eric Harney - 0.5.0-4 - Add python3-setuptools BuildRequires * Tue May 26 2020 Miro Hrončok - 0.5.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 12 2019 Eric Harney - 0.5.0-1 - Update to 0.5.0 * Thu Oct 03 2019 Miro Hrončok - 0.4.2-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.4.2-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Feb 18 2019 Eric Harney - 0.4.2-1 - Update to 0.4.2 * Sat Feb 02 2019 Fedora Release Engineering - 0.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 03 2018 Eric Harney - 0.4.0-4 - Remove Python 2 packages for Fedora * Sat Jul 14 2018 Fedora Release Engineering - 0.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.4.0-2 - Rebuilt for Python 3.7 * Mon Jun 18 2018 Eric Harney - 0.4.0-1 - Update to 0.4.0 * Tue May 15 2018 Eric Harney - 0.3.6-1 - Update to 0.3.6 * Wed Feb 14 2018 Eric Harney - 0.3.5-1 - Update to 0.3.5 * Fri Feb 09 2018 Fedora Release Engineering - 0.3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 26 2018 Iryna Shcherbina - 0.3.4-2 - Update Python 2 dependency declarations to new packaging standards * Mon Dec 18 2017 Eric Harney - 0.3.4-1 - Update to 0.3.4 * Thu Nov 09 2017 Eric Harney - 0.3.3-1 - Update to 0.3.3 * Thu Jul 27 2017 Fedora Release Engineering - 0.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Eric Harney - 0.2.3-1 - Update to 0.2.3 * Tue May 16 2017 Eric Harney - 0.2.2-1 - Update to 0.2.2 * Tue Mar 14 2017 Eric Harney - 0.2.1-1 - Update to 0.2.1 * Mon Mar 13 2017 Eric Harney - 0.2.0-1 - Update to 0.2.0 * Fri Mar 10 2017 Eric Harney - 0.1.6-1 - Update to 0.1.6 * Wed Feb 15 2017 Eric Harney - 0.1.5-1 - Update to 0.1.5 * Wed Feb 15 2017 Eric Harney - 0.1.4-1 - Initial import ## END: Generated by rpmautospec