From a04f1457866798ffd96729fb62e23638756b064d Mon Sep 17 00:00:00 2001 From: zhanzhimin Date: Sat, 7 Aug 2021 16:34:17 +0800 Subject: [PATCH] fix unknown pytest.mark.no_cover fail in make check --- python-dateutil.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-dateutil.spec b/python-dateutil.spec index 7fbac06..2131d6d 100644 --- a/python-dateutil.spec +++ b/python-dateutil.spec @@ -3,10 +3,10 @@ Name: python-dateutil Version: 2.8.1 -Release: 2 +Release: 3 Epoch: 1 Summary: Powerful extensions to datetime -License: Apache 2.0 or BSD +License: Apache 2.0 or BSD or Python URL: https://github.com/dateutil/dateutil Source0: https://files.pythonhosted.org/packages/source/p/python-dateutil/python-dateutil-%{version}.tar.gz @@ -48,6 +48,8 @@ Requires: python3-six tzdata %py3_install %check +rm setup.cfg +export LANG=en_US.UTF-8 %{__python2} setup.py test %{__python3} setup.py test @@ -70,6 +72,9 @@ Requires: python3-six tzdata %doc NEWS PKG-INFO RELEASING %changelog +* Sat Aug 7 2021 zhanzhimin - 1:2.8.1-3 +- fix unknown pytest.mark.no_cover fail in make check + * Wed May 13 2020 wangchen - 1:2.8.1-2 - Type:bugfix - ID:NA -- Gitee