## START: Set by rpmautospec ## (rpmautospec version 0.8.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 shtab Name: python-shtab Version: 1.12.1 Release: 2%{?dist} Summary: Automagic shell tab completion for Python CLI applications License: Apache-2.0 URL: https://github.com/iterative/shtab Source0: %{pypi_source} BuildArch: noarch Vendor: WFP Repo BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros BuildRequires: python3dist(pytest) BuildRequires: python3-click %description Automatically generate shell tab completion scripts for Python CLI apps. %package -n python3-shtab Summary: %{summary} %description -n python3-shtab Automatically generate shell tab completion scripts for Python CLI apps. %prep %autosetup -n shtab-%{version} # remove coverage test config sed -i -e 's/addopts =/#addopts =/' pyproject.toml %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files shtab %check %pytest %files -n python3-shtab -f %{pyproject_files} %license LICENCE %doc README.rst %{_bindir}/shtab %changelog * Tue Sep 15 2026 Bill Pemberton - 1.12.1-2 - rebuild for f45 * Tue Sep 15 2026 Bill Pemberton - 1.12.1-1 - update to version 1.12.1 * Wed Mar 11 2026 Bill Pemberton - 1.8.0-2 - rebuild for f44 * Wed Mar 11 2026 Bill Pemberton - 1.8.0-1 - update to version 1.8.0