## 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 forgeurl https://github.com/fedora-infra/koji-fedoramessaging-messages %global commit 2220a1e39d7ab0fcb48fc0fbd9ff614b6e81bf80 %forgemeta %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-3.0-or-later URL: https://github.com/fedora-infra/%{srcname} Source: %{forgesource} 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 %forgeautosetup -p1 %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 LICENSES/GPL-3.0-or-later.txt %changelog ## START: Generated by rpmautospec * Thu Nov 28 2024 John Doe - 1.2.5-1 - Uncommitted changes ## END: Generated by rpmautospec