Accepting request 809533 from home:apritschet:branches:openSUSE:Factory
Set encodings to UTF-8 to avoid UnicodeDecodeError (otherwise building for SLE12 will fail) OBS-URL: https://build.opensuse.org/request/show/809533 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=25
This commit is contained in:
parent
9a30a3c3f4
commit
011481b120
@ -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
|
Thu Mar 19 08:22:52 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-responses
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -54,9 +54,13 @@ about the library.
|
|||||||
%setup -q -n responses-%{version}
|
%setup -q -n responses-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export LANG="en_US.UTF8"
|
||||||
|
export PYTHONIOENCODING="utf_8"
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
export LANG="en_US.UTF8"
|
||||||
|
export PYTHONIOENCODING="utf_8"
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user