diff --git a/SPECS/python-click-plugins.spec b/SPECS/python-click-plugins.spec index dc9a04a..85115ac 100644 --- a/SPECS/python-click-plugins.spec +++ b/SPECS/python-click-plugins.spec @@ -1,45 +1,45 @@ -%global srcname click-plugins -%global srcname_no_dash click_plugins - -Name: python-%{srcname} +Name: python-click-plugins Version: 1.1.1 -Release: 13%{?dist} +Release: 22%{?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 +License: BSD-3-Clause +URL: https://github.com/click-contrib/click-plugins +Source: %{pypi_source click-plugins} BuildArch: noarch +%global _description %{expand: +An extension module for click to register external CLI commands via setuptools +entry-points.} + + %description %{_description} -%package -n python3-%{srcname} +%package -n python3-click-plugins Summary: %{summary} -%{?python_provide:%python_provide python3-%{srcname}} - BuildRequires: python3-devel -BuildRequires: python3dist(setuptools) -BuildRequires: python3dist(click) >= 4.0 -BuildRequires: python3dist(pytest) +BuildRequires: python3-pytest -%description -n python3-%{srcname} %{_description} +%description -n python3-click-plugins %{_description} %prep -%autosetup -n %{srcname}-%{version} +%autosetup -n click-plugins-%{version} + + +%generate_buildrequires +%pyproject_buildrequires %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files -l click_plugins %check @@ -47,16 +47,40 @@ export LANG=C.UTF-8 %{pytest} -ra -%files -n python3-%{srcname} -%license LICENSE.txt +%files -n python3-click-plugins -f %{pyproject_files} %doc README.rst -%{python3_sitelib}/%{srcname_no_dash} -%{python3_sitelib}/%{srcname_no_dash}-%{version}-py%{python3_version}.egg-info %changelog -* Tue Aug 13 2024 Sergey Cherevko - 1.1.1-13 -- Rebuilt for MSVSphere 9.4 +* Sun Jan 05 2025 Arkady L. Shane - 1.1.1-22 +- Rebuilt for MSVSphere 10 + +* Fri Aug 16 2024 Carl George - 1.1.1-22 +- Convert to pyproject macros + +* Fri Jul 19 2024 Fedora Release Engineering - 1.1.1-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.1.1-20 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.1.1-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.1.1-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.1.1-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 1.1.1-16 +- Rebuilt for Python 3.12 + +* Sat Apr 08 2023 Elliott Sales de Andrade - 1.1.1-15 +- Switch to SPDX with corrected license + +* Fri Jan 20 2023 Fedora Release Engineering - 1.1.1-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.1.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild