diff --git a/python-responses.changes b/python-responses.changes index c7edebb..faf9a21 100644 --- a/python-responses.changes +++ b/python-responses.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 27 12:22:21 UTC 2020 - Andreas Hasenkopf + +- Set encodings to UTF-8 to avoid UnicodeDecodeError + ------------------------------------------------------------------- Thu Mar 19 08:22:52 UTC 2020 - pgajdos@suse.com diff --git a/python-responses.spec b/python-responses.spec index 9dcd2dc..d0880df 100644 --- a/python-responses.spec +++ b/python-responses.spec @@ -1,7 +1,7 @@ # # spec file for package python-responses # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -54,9 +54,13 @@ about the library. %setup -q -n responses-%{version} %build +export LANG="en_US.UTF8" +export PYTHONIOENCODING="utf_8" %python_build %install +export LANG="en_US.UTF8" +export PYTHONIOENCODING="utf_8" %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib}