From 28c4613d7bf17040d0242b010c71fc91ba48babee3db5e3c8bc7f034fb48e085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 17 Jan 2020 09:10:27 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dateutil?expand=0&rev=23 --- python-python-dateutil.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python-python-dateutil.spec b/python-python-dateutil.spec index 191b5f5..31e57b4 100644 --- a/python-python-dateutil.spec +++ b/python-python-dateutil.spec @@ -36,6 +36,7 @@ Source0: https://files.pythonhosted.org/packages/source/p/python-dateutil BuildRequires: %{python_module setuptools >= 24.3} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module six >= 1.5} +BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six >= 1.5 @@ -86,8 +87,7 @@ Orthodox or Julian algorithms. %prep %setup -q -n python-dateutil-%{version} #cleanup and MSdos style end of line separators -sed -i 's/\r$//' LICENSE NEWS PKG-INFO README.rst -rm -f setup.cfg +dos2unix LICENSE NEWS PKG-INFO README.rst %build %python_build @@ -100,6 +100,7 @@ rm -f setup.cfg %if %{with test} %check +rm setup.cfg export LANG=en_US.UTF-8 %pytest %endif