## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 Name: python-py-key-value-aio Version: 0.3.0 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: Async Key-Value # No license information obtained, it's up to the packager to fill it in License: ... URL: ... Source: %{pypi_source py_key_value_aio} BuildSystem: pyproject # Replace ... with top-level Python module names as arguments, you can use globs BuildOption(install): ... # Keep only those extras which you actually want to package or use during tests # If you don't want to package any of them, erase the whole line BuildOption(generate_buildrequires): -x disk,duckdb,dynamodb,elasticsearch,filetree,keyring,keyring-linux,memcached,memory,mongodb,pydantic,redis,rocksdb,valkey,vault,wrappers-encryption BuildArch: noarch BuildRequires: python3-devel BuildRequires: tomcli # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'py-key-value-aio' generated automatically by pyp2spec.} %description %_description %package -n python3-py-key-value-aio Summary: %{summary} %description -n python3-py-key-value-aio %_description %prep -a tomcli set pyproject.toml arrays replace build-system.requires "uv_build>=([0-9]+\.[0-9]+\.[0-9]+),<([0-9]+\.[0-9]+\.[0-9]+)" "uv_build>=0.8.2,<0.10.0" # For official Fedora packages, review which extras should be actually packaged # See: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#Extras %pyproject_extras_subpkg -n python3-py-key-value-aio disk,duckdb,dynamodb,elasticsearch,filetree,keyring,keyring-linux,memcached,memory,mongodb,pydantic,redis,rocksdb,valkey,vault,wrappers-encryption %files -n python3-py-key-value-aio -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Wed Dec 03 2025 John Doe - 0.3.0-1 - Uncommitted changes ## END: Generated by rpmautospec