## 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-granian Version: 2.6.0 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: A Rust HTTP server for Python applications # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: BSD-3-Clause URL: https://github.com/emmett-framework/granian Source: %{pypi_source granian} BuildSystem: pyproject # Replace ... with top-level Python module names as arguments, you can use globs BuildOption(install): -l granian # 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 all,dotenv,pname,reload,rloop,uvloop BuildRequires: python3-devel BuildRequires: gcc # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'granian' generated automatically by pyp2spec.} %description %_description %package -n python3-granian Summary: %{summary} %description -n python3-granian %_description # 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-granian all,dotenv,pname,reload,rloop,uvloop %files -n python3-granian -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Mon Dec 01 2025 John Doe - 2.6.0-1 - Uncommitted changes ## END: Generated by rpmautospec