%global tag .infinidat %global python3_pkgversion 3.11 %global __python3 /usr/bin/python%{python3_pkgversion} %global srcname click Name: python%{python3_pkgversion}-%{srcname} Version: 8.1.7 Release: 1%{?tag}%{?dist} Summary: Composable command line interface toolkit Group: Applications/System License: BSD Vendor: Infinidat URL: https://github.com/pallets/%{srcname} Source: %{pypi_source} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}dist(setuptools) %description Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary. It's the "Command Line Interface Creation Kit". It's highly configurable but comes with sensible defaults out of the box. %prep %autosetup -n %{srcname}-%{version} rm -rf %{srcname}.egg-info %build %py3_build %install %py3_install %files %license LICENSE.rst %doc README.rst CHANGES.rst %{python3_sitelib}/%{srcname} %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info %changelog * Fri Apr 11 2025 Alexander Deiter - 8.1.7-1 - Bump version 8.0.4 => 8.1.7 * Mon Apr 04 2022 Alexander Deiter - 8.0.4-1 - Initial RPM release