!21 Fix compilation failure caused by setuptool upgrade

From: @lyn1001 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2023-07-05 07:12:40 +00:00 committed by Gitee
commit 9a293d33a4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: PyPAM
Version: 0.5.0
Release: 3
Release: 4
Summary: PAM bindings for Python
License: LGPLv2.1
Url: http://www.pangalactic.org/PyPAM
@ -44,7 +44,7 @@ chmod 644 examples/pamtest.py
rm -f examples/pamexample
%check
PYTHONPATH=build/lib.linux-`uname -m`-%{python3_version}/ %{__python3} tests/PamTest.py
PYTHONPATH=build/lib.linux-`uname -m`-cpython-%{python3_version_nodots}/ %{__python3} tests/PamTest.py
%files -n python3-PyPAM
%defattr(-,root,root,-)
@ -58,6 +58,9 @@ PYTHONPATH=build/lib.linux-`uname -m`-%{python3_version}/ %{__python3} tests/Pam
%doc NEWS README ChangeLog INSTALL examples
%changelog
* Wed Jul 5 2023 liyanan <thistleslyn@163.com> - 0.5.0-4
- Fix compilation failure caused by setuptool upgrade
* Thu Apr 21 2022 wangyu<wangyu283@huawei.com> - 0.5.0-3
- Modified the version number and open-source protocol version.