# Created by pyp2rpm-3.3.5 %global pypi_name pick Name: python-%{pypi_name} Version: 1.0.0 Release: 2%{?dist} Summary: Pick an option in the terminal with a simple GUI License: MIT URL: https://github.com/wong2/pick Source0: https://github.com/wong2/%{pypi_name}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) BuildRequires: python3dist(setuptools) %global _description %{expand: pick is a small python library to help you create curses based interactive selection list in the terminal.} %description %_description %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %_description %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %pytest %files -n python3-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog * Mon Apr 19 2021 Gerard Bechard - 1.0.0-2 - Update tests. * Mon Apr 12 2021 Gerard Bechard - 1.0.0-1 - Initial package.