# Created by pyp2rpm-3.3.4 %global pypi_name click-repl Name: python-%{pypi_name} Version: 0.1.6 Release: 1%{?dist} Summary: REPL plugin for Click License: MIT URL: https://github.com/untitaker/click-repl Source0: %{url}/archive/%{version}.tar.gz BuildArch: noarch Patch0: https://patch-diff.githubusercontent.com/raw/click-contrib/click-repl/pull/53.patch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: python3-click BuildRequires: python3-pytest BuildRequires: python3-prompt-toolkit %description %{summary} %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %{summary} %prep %autosetup -p1 -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}/click_repl %{python3_sitelib}/click_repl-%{version}-py%{python3_version}.egg-info %changelog * Tue Sep 29 2020 FrantiĊĦek Zatloukal - 0.1.6-1 - Initial package.