diff --git a/python-authheaders.changes b/python-authheaders.changes index 02e6125..0662e4e 100644 --- a/python-authheaders.changes +++ b/python-authheaders.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 10 17:54:29 UTC 2020 - pgajdos@suse.com + +- fix build in SLE-15: set en_US.UTF-8 encoding + ------------------------------------------------------------------- Mon Dec 2 10:47:09 UTC 2019 - pgajdos@suse.com diff --git a/python-authheaders.spec b/python-authheaders.spec index 9fe7f94..33b7e51 100644 --- a/python-authheaders.spec +++ b/python-authheaders.spec @@ -1,7 +1,7 @@ # # spec file for package python-authheaders # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,9 @@ Source: https://files.pythonhosted.org/packages/source/a/authheaders/aut BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if 0%{?suse_version} <= 1500 +BuildRequires: %{python_module cffi} +%endif Requires: python-authres >= 1.0.1 Requires: python-dkimpy >= 0.7.1 Requires: python-dnspython @@ -49,6 +52,7 @@ A library wrapping email authentication header verification and generation. %setup -q -n authheaders-%{version} %build +LANG=en_US.UTF-8 %python_build %install @@ -56,6 +60,7 @@ A library wrapping email authentication header verification and generation. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +LANG=en_US.UTF-8 %pytest %files %{python_files}