%global upstream_name configshell-fb %global pkg_name configshell Name: python-%{pkg_name} Version: v2.0.2 Release: 1.20250530043136276516.pr90.18.g84e2c52%{?dist} Summary: A framework to implement simple but nice CLIs # Note: This is the fb version of configshell License: Apache-2.0 URL: http://github.com/open-iscsi/%{upstream_name} Source0: configshell_fb-2.0.3.dev18+g84e2c52.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: hatch BuildRequires: python3-hatchling BuildRequires: python3-hatch-vcs %description configshell-fb is a Python library that provides a framework to implement simple but nice CLI-based applications. %package -n python3-%{pkg_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pkg_name}} Requires: python3-pyparsing >= 2.4.7 %description -n python3-%{pkg_name} configshell-fb is a Python library that provides a framework to implement simple but nice CLI-based applications. %prep %autosetup -n configshell_fb-2.0.3.dev18+g84e2c52 rm -rf %{upstream_name}.egg-info %build %pyproject_wheel %install %pyproject_install %pyproject_save_files configshell configshell_fb %files -n python3-%{pkg_name} -f %{pyproject_files} %license COPYING %doc README.md %changelog %autochangelog