## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 cachelib Name: python-%{srcname} Version: 0.13.0 Release: %autorelease Summary: A collection of cache libraries with a common API License: BSD-3-Clause URL: https://github.com/pallets-eco/cachelib Source0: %{url}/archive/%{version}/cachelib-%{version}.tar.gz BuildArch: noarch %global _description %{expand: A collection of cache libraries with a common API. Extracted from Werkzeug.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} BuildRequires: memcached BuildRequires: redis BuildRequires: python3-devel BuildRequires: python3-pylibmc #BuildRequires: python3-pymongo BuildRequires: python3-pytest BuildRequires: python3-pytest-xprocess BuildRequires: python3-redis BuildRequires: python3dist(setuptools) %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l cachelib %check # uWSGI is not packaged for Fedora and there is no straightforward way to test # Amazon DynamoDB so skip tests for these backends. # MongoDb is new as of 0.12.0, however, it fails the test suite even with # pymongo installed. Leave it disabled until fixed. %pytest -v -r s -k 'not Uwsgi and not DynamoDb and not MongoDb' %files -n python3-%{srcname} -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.13.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.13.0-3 - Rebuilt for Python 3.13 * Sun Apr 14 2024 topazus - 0.13.0-2 - not let fedora-ci.koji-build.tier0.functional test to block * Sat Apr 13 2024 topazus - 0.13.0-1 - 0.13.0 * Sat Feb 17 2024 Loren M. Lang - 0.12.0-1 - New upstream release * Fri Jan 26 2024 Fedora Release Engineering - 0.10.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.10.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.10.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jul 01 2023 Python Maint - 0.10.0-4 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jan 11 2023 Matěj Grabovský - 0.10.0-2 - Fix tests runner * Tue Jan 10 2023 Matěj Grabovský - 0.10.0-1 - New upstream release * Fri Jul 22 2022 Fedora Release Engineering - 0.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 27 2022 Matěj Grabovský - 0.9.0-2 - Fix link to unit tests * Mon Jun 27 2022 Matěj Grabovský - 0.9.0-1 - New upstream release * Mon Jun 13 2022 Python Maint - 0.7.0-2 - Rebuilt for Python 3.11 * Mon May 16 2022 Matěj Grabovský - 0.7.0-1 - New upstream release * Fri Jan 21 2022 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jan 18 2022 Matěj Grabovský - 0.6.0-1 - New upstream release * Fri Jan 07 2022 Matěj Grabovský - 0.5.0-1 - New upstream release 0.5.0 * Tue Oct 05 2021 Matěj Grabovský - 0.4.1-1 - New upstream release * Mon Oct 04 2021 Matěj Grabovský - 0.4.0-1 - New upstream release * Sat Aug 14 2021 Matěj Grabovský - 0.3.0-1 - New upstream release * Fri Jul 23 2021 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 25 2021 Matěj Grabovský - 0.2.0-1 - New upstream release * Fri Jun 04 2021 Python Maint - 0.1.1-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jul 31 2020 Matěj Grabovský - 0.1.1-1 - Initial package ## END: Generated by rpmautospec