## START: Set by rpmautospec ## (rpmautospec version 0.7.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 %global srcname koji-fedoramessaging-messages %global modname koji_fedoramessaging_messages Name: python-koji-fedoramessaging-messages Version: 1.2.5 Release: %autorelease Summary: A schema package for koji-fedoramessaging License: GPL-2.0-only URL: https://github.com/fedora-infra/%{srcname} Source: %{pypi_source koji_fedoramessaging_messages} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) %global _description %{expand: A schema package for koji-fedoramessaging, the fedora-messaging plugin for Koji.} %description %_description %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %_description %prep %autosetup -p1 -n %{modname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L %{modname} %check %pytest %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE %changelog ## START: Generated by rpmautospec * Sat Nov 09 2024 John Doe - 1.2.5-1 - Uncommitted changes ## END: Generated by rpmautospec