%global srcname click-plugins %global srcname_no_dash click_plugins Name: python-%{srcname} Version: 1.1.1 Release: 8%{?dist} Summary: Click extension to register CLI commands via setuptools %global _description \ An extension module for click to register external CLI commands via setuptools \ entry-points. License: MIT URL: https://pypi.python.org/pypi/%{srcname} Source0: %pypi_source BuildArch: noarch %description %{_description} %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_version}dist(setuptools) BuildRequires: python%{python3_version}dist(click) >= 4.0 BuildRequires: python%{python3_version}dist(pytest) %description -n python%{python3_pkgversion}-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} %build %py3_build %install %py3_install %check export LANG=C.UTF-8 %{pytest} -ra %files -n python%{python3_pkgversion}-%{srcname} %license LICENSE.txt %doc README.rst %{python3_sitelib}/%{srcname_no_dash} %{python3_sitelib}/%{srcname_no_dash}-%{version}-py%{python3_version}.egg-info %changelog * Wed Jan 27 2021 Fedora Release Engineering - 1.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.1.1-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.1.1-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.1.1-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Apr 08 2019 Elliott Sales de Andrade - 1.1.1-1 - Update to latest version * Sat Feb 02 2019 Fedora Release Engineering - 1.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Oct 01 2018 Elliott Sales de Andrade 1.0.4-2 - Drop Python 2 subpackage * Fri Sep 21 2018 Elliott Sales de Andrade 1.0.4-1 - Update to latest version * Fri Jul 13 2018 Fedora Release Engineering - 1.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.0.3-5 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Aug 12 2017 Elliott Sales de Andrade 1.0.3-3 - Simplify spec with more macros. * Sun Jul 09 2017 Elliott Sales de Andrade 1.0.3-2 - Simplify spec a bit. * Sat Mar 04 2017 Elliott Sales de Andrade 1.0.3-1 - Initial package release.