From 8daf7b8fadf68b6e5ca733e8a07c37eec6e7e45c Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Sat, 13 May 2023 14:42:44 +0800 Subject: [PATCH] Correct PYTHONPATH to fix build failure --- PyPAM.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/PyPAM.spec b/PyPAM.spec index 62c3f8a..d15c16c 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. -- Gitee