diff --git a/python-click.spec b/python-click.spec index e4f7d6df04751a0c21dad5a099a478ba8496c5b9..d9c1d6197fb98acbc4ecc80216cad4c410a65944 100644 --- a/python-click.spec +++ b/python-click.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-click Version: 8.1.7 -Release: 1 +Release: 2 Summary: Composable command line interface toolkit License: BSD URL: https://palletsprojects.com/p/click/ @@ -22,6 +22,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel +BuildRequires: python3-pytest # General requires BuildRequires: python3-colorama # General requires @@ -77,7 +78,7 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +%pytest %files -n python3-click -f filelist.lst %dir %{python3_sitelib}/* @@ -87,6 +88,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Jul 21 2025 wangkai <13474090681@163.com> - 8.1.7-2 +- Fix build failure due to setuptools update + * Tue Dec 26 2023 liyanan - 8.1.7-1 - Upgrade package python3-click to version 8.1.7