## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 inquirer Name: python-%{srcname} Version: 3.4.1 Release: %autorelease Summary: Collection of common interactive command line user interfaces License: MIT URL: https://github.com/magmax/python-inquirer # The PyPI tarball doesn't include tests so use GitHub instead Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pexpect BuildRequires: python3-pytest BuildRequires: sed %global _description %{expand: This package provides a collection of common interactive command line user interfaces, based on the Inquirer JavaScript library.} %description %_description %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %_description %prep %autosetup -p1 # Fix interpreter invocations in tests sed -i 's:python:python3:g' tests/acceptance/*.py # PyPI package name is editor, but Fedora packages it as python-editor sed -i 's/editor = ">=1.6.0"/python-editor = ">=1.0.4"/' pyproject.toml # Fedora packages readchar as 4.0.5, but inquirer 3.4.1 asks for >=4.2.0 # The API is compatible enough, so relax the version requirement to >=4.0.0 # This workaround can be removed when readchar is upgraded to 4.2.2 # https://src.fedoraproject.org/rpms/python-readchar/pull-request/2 sed -i 's/readchar = ">=4.2.0"/readchar = ">=4.0.0"/' pyproject.toml %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %pyproject_check_import %pytest %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Sat Jul 25 2026 Filipe Rosset - 3.4.1-1 - update to 3.4.1 fixes rhbz#2260470 and rhbz#2434987 * Thu Jul 16 2026 Fedora Release Engineering - 3.1.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Thu Jun 25 2026 Python Maint - 3.1.3-12 - Rebuilt for Python 3.15 * Sat Jan 17 2026 Fedora Release Engineering - 3.1.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 19 2025 Python Maint - 3.1.3-10 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 3.1.3-9 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 3.1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 03 2025 Python Maint - 3.1.3-7 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 3.1.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 3.1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 3.1.3-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Jan 09 2024 Davide Cavalca - 3.1.3-1 - Initial import; Fixes: RHBZ#2223010 ## END: Generated by rpmautospec