From 6b1575795fc47e1aac5871dcba573a1bf6ea1457 Mon Sep 17 00:00:00 2001 From: wang--ge Date: Wed, 18 Jun 2025 10:04:46 +0800 Subject: [PATCH] fix build failure --- python-cheetah.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python-cheetah.spec b/python-cheetah.spec index 073b23a..6a56a90 100644 --- a/python-cheetah.spec +++ b/python-cheetah.spec @@ -1,6 +1,6 @@ Name: python-cheetah Version: 3.3.3 -Release: 1 +Release: 2 Summary: The Python-Powered Template Engine License: MIT URL: http://cheetahtemplate.org/ @@ -35,8 +35,9 @@ The Python-Powered Template Engine %py3_install %check -export PATH="%{buildroot}/%{_bindir}:$PATH" PYTHONPATH="%{buildroot}/%{python3_sitearch}" -%{buildroot}/%{_bindir}/cheetah test +export PATH="%{buildroot}%{_bindir}:$PATH" PYTHONPATH="%{buildroot}%{python3_sitearch}" +sed -i "s|python|/usr/bin/python3|g" %{buildroot}%{_bindir}/cheetah +%{buildroot}%{_bindir}/cheetah test %files -n python3-cheetah %license LICENSE @@ -45,6 +46,9 @@ export PATH="%{buildroot}/%{_bindir}:$PATH" PYTHONPATH="%{buildroot}/%{python3_s %{python3_sitearch}/ %changelog +* Wed Jun 18 2025 Ge Wang - 3.3.3-2 +- Fix build failure + * Mon Sep 30 2024 wangkai <13474090681@163.com> - 3.3.3-1 - Update to 3.3.3 -- Gitee