## 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 maubot-fedora-messages %global modname maubot_fedora_messages %global forgeurl https://github.com/fedora-infra/maubot-fedora-messages %global commit 3a412901de45849daca6e0c78ca66c79ff2f4b4e %forgemeta Name: python-maubot-fedora-messages Version: 0.1.0 Release: %autorelease Summary: A schema package for messages sent by Maubot Fedora License: GPL-3.0-or-later AND LGPL-3.0-or-later URL: %{forgeurl} Source: %{forgesource} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) %global _description %{expand: A schema package for messages sent by Maubot Fedora.} %description %_description %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %_description %prep %forgesetup %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/*.txt %changelog ## START: Generated by rpmautospec * Fri Nov 15 2024 John Doe - 0.1.0-1 - Uncommitted changes ## END: Generated by rpmautospec