forked from pool/python-authheaders
Accepting request 765702 from devel:languages:python:mailman:backports
- fix build in SLE-15: set en_US.UTF-8 encoding OBS-URL: https://build.opensuse.org/request/show/765702 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-authheaders?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
838aaccd2b
commit
2556f72988
@@ -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
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user