From 19e70db197a5d805b9efa1212ad3775e9540aea2 Mon Sep 17 00:00:00 2001 From: zhanzhimin Date: Sat, 7 Aug 2021 17:04:31 +0800 Subject: [PATCH] fix pytest setup.cfg fail in make check --- python-mako.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-mako.spec b/python-mako.spec index 7fc3cde..831237f 100644 --- a/python-mako.spec +++ b/python-mako.spec @@ -2,7 +2,7 @@ %bcond_without python3 Name: python-mako Version: 1.0.6 -Release: 13 +Release: 14 Summary: Mako template library for Python License: (MIT and Python) and (BSD or GPLv2) Group: Development/Languages @@ -65,6 +65,8 @@ mv %{buildroot}/%{_bindir}/mako-render %{buildroot}/%{_bindir}/python3-mako-rend rm -rf doc/build %check +rm setup.cfg +export LANG=en_US.UTF-8 %{__python2} setup.py test %{__python3} setup.py test @@ -84,6 +86,9 @@ rm -rf doc/build %doc doc %changelog +* Sat Aug 07 2021 zhanzhimin - 1.0.6-14 +- fix pytest setup.cfg fail in make check + * Wed Sep 2 2020 wenzhanli - 1.0.6-13 - Add python2 python3 definition -- Gitee