## 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 Name: python-roman-numerals-py Version: 3.1.0 Release: %autorelease Summary: Manipulate well-formed Roman numerals # Upstream says: Zero-Clause BSD license or the CC0 1.0 Universal license # CC0-1.0 is not allowed for Fedora, hence declaring only 0BSD License: 0BSD URL: https://github.com/AA-Turner/roman-numerals/ Source: %{pypi_source roman_numerals_py} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: This project provides utilities manipulating well-formed Roman numerals, in various programming languages.} %description %_description %package -n python3-roman-numerals-py Summary: %{summary} %description -n python3-roman-numerals-py %_description %prep %autosetup -p1 -n roman_numerals_py-%{version} %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L roman_numerals %check %pyproject_check_import %pytest %files -n python3-roman-numerals-py -f %{pyproject_files} %license LICENCE.rst %doc README.rst %changelog ## START: Generated by rpmautospec * Wed Mar 05 2025 Karolina Surma - 3.1.0-1 - Initial import (fedora#2349757) ## END: Generated by rpmautospec