%global srcname cycler %global sum Cycle through lists in various ways (used by matplotlib) %global desc General purpose library used by matplotlib to cycle through lists for colors,\ marker styles, etc %global python3_pkgversion 3.11 Name: python-%{srcname} Version: 0.11.0 Release: 2.ac7%{?dist} Summary: %{sum} License: BSD Source0: %pypi_source URL: https://github.com/matplotlib/cycler.git BuildArch: noarch %description %{desc} %package -n python%{python3_pkgversion}-%{srcname} Summary: %{sum} BuildRequires: python%{python3_pkgversion}-devel %description -n python%{python3_pkgversion}-%{srcname} %{desc} %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} %doc README.rst %license LICENSE %changelog * Fri Mar 29 2024 Ding-Yi Chen - 0.11.0-2.ac7 - Cut corner packaging