diff --git a/python-setuptools_git.spec b/python-setuptools_git.spec index e7935bfacd7a7191c71bc19e133de3f393f62cb5..81a6cf2ff416e3f70a3b1c11b54406e6246ab018 100644 --- a/python-setuptools_git.spec +++ b/python-setuptools_git.spec @@ -1,8 +1,8 @@ Name: python-setuptools_git Version: 1.2 -Release: 1 +Release: 2 Summary: Plugin for integrating Git into setuptools -License: BSD +License: BSD-3-Clause URL: https://pypi.python.org/project/setuptools-git/%{version}/ Source0: https://files.pythonhosted.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz BuildArch: noarch @@ -44,7 +44,8 @@ inclusion specifications with MANIFEST.in. %{_bindir}/git add . %{_bindir}/git commit -m 'commit test' export LANG="en_US.UTF-8" -%{__python3} setup.py test -vv +export PYTHONPATH="%{buildroot}%{python3_sitearch}" +%{__python3} -m unittest ./setuptools_git/tests.py unset LANG %files -n python3-setuptools_git @@ -53,6 +54,9 @@ unset LANG %{python3_sitelib}/setuptools_git*/ %changelog +* Mon Jun 23 2025 Ge Wang - 1.2-2 +- fix build failure due to setuptools updated + * Wed Dec 14 2022 wenzhiwei - 1.2-1 - update to 1.2