## 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 %global pypi_name InquirerPy %global modname inquirerpy Name: python-%{modname} Version: 0.3.4 Release: %autorelease Summary: Python port of Inquirer.js for interactive command line user interfaces License: MIT URL: https://github.com/kazhala/InquirerPy Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: InquirerPy is a Python port of the famous Inquirer.js (A collection of common interactive command line user interfaces). This project is a re-implementation of the PyInquirer project, with bug fixes of known issues, new prompts, backward compatible APIs as well as more customisation options. This project uses Python 3.7+ type hinting and leverages prompt_toolkit to work cross-platform for all operating systems. Compared with python-inquirer, InquirerPy offers a slightly better UI, more customisation options in key bindings and styles, providing pagination as well as more prompts.} %description %{_description} %package -n python3-%{modname} Summary: %{summary} %description -n python3-%{modname} %{_description} %prep %autosetup -p1 -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L %{pypi_name} %check # Import check to verify the package is installable %pyproject_check_import # Note: Tests disabled as they may require additional dependencies # not yet packaged for Fedora %files -n python3-%{modname} -f %{pyproject_files} %doc README.md %license LICENSE %changelog ## START: Generated by rpmautospec * Wed Mar 04 2026 John Doe - 0.3.4-1 - Uncommitted changes ## END: Generated by rpmautospec