diff --git a/PyPAM.spec b/PyPAM.spec index 62c3f8a54d959d5ea785d2d14ee05068a9859344..d15c16c08d4d09beff0db28d7cae311d3e937419 100644 --- a/PyPAM.spec +++ b/PyPAM.spec @@ -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-310/ %{__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 +* Sat May 13 2023 ChenYanpan - 0.5.0-4 +- Correct PYTHONPATH to fix build failure + * Thu Apr 21 2022 wangyu - 0.5.0-3 - Modified the version number and open-source protocol version.