# Created by pyp2rpm-3.3.4 %global pypi_name click-didyoumean Name: python-%{pypi_name} Version: 0.0.3 Release: 2%{?dist} Summary: Enable git-like did-you-mean feature in click License: MIT URL: https://github.com/timofurrer/click-didyoumean Source0: %{url}/archive/v%{version}.tar.gz BuildArch: noarch # Patches adapt tests to a newer python-click (present in Fedora) Patch0: %{url}/pull/4.patch Patch1: 0001-Fix-tests-some-more.patch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-click BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-prompt-toolkit %description %{summary} %package -n python%{python3_pkgversion}-%{pypi_name} Summary: %{summary} %description -n python%{python3_pkgversion}-%{pypi_name} %{summary} %prep %autosetup -p1 -n %{pypi_name}-%{version} %build %py3_build %install %py3_install %check %pytest %files -n python%{python3_pkgversion}-%{pypi_name} %doc README.rst %license LICENSE %{python3_sitelib}/click_didyoumean/ %{python3_sitelib}/click_didyoumean-%{version}-py%{python3_version}.egg-info/ %changelog * Wed Jan 27 2021 Fedora Release Engineering - 0.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Sep 29 2020 FrantiĊĦek Zatloukal - 0.0.3-1 - Initial package.