Fix compilation failure caused by setuptool upgrade

This commit is contained in:
lyn1001 2023-07-05 14:30:33 +08:00
parent aa7571bb68
commit cf014d441b

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.