Accepting request 809539 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/809539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-responses?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2020-06-05 17:59:04 +00:00 committed by Git OBS Bridge
commit a27c83e61a
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 27 12:22:21 UTC 2020 - Andreas Hasenkopf <ahasenkopf@suse.com>
- Set encodings to UTF-8 to avoid UnicodeDecodeError
-------------------------------------------------------------------
Thu Mar 19 08:22:52 UTC 2020 - pgajdos@suse.com

View File

@ -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}