# 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 # Patch adapts tests to a newer python-click (present in Fedora) Patch0: %{url}/pull/53.patch BuildRequires: python3-devel BuildRequires: python3-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} %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.