diff --git a/python-cheetah.spec b/python-cheetah.spec index 073b23abb533a23bb939f5b2816549f7b6ba1a8d..6a56a90d17cb68122c0c0722f2db5968920c380a 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