From f515ae0a67a25dbfd2a29f33dd267cce30cdf2603a4ba0c013bf86645f938c70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 29 Aug 2018 12:47:50 +0000 Subject: [PATCH] - Attempt to fix some python 3.7 failures by exporting LANG OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kitchen?expand=0&rev=4 --- python-kitchen.changes | 5 +++++ python-kitchen.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/python-kitchen.changes b/python-kitchen.changes index 4a35b0c..8561fbb 100644 --- a/python-kitchen.changes +++ b/python-kitchen.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 29 12:42:20 UTC 2018 - tchvatal@suse.com + +- Attempt to fix some python 3.7 failures by exporting LANG + ------------------------------------------------------------------- Tue Feb 6 21:17:38 UTC 2018 - sebix+novell.com@sebix.at diff --git a/python-kitchen.spec b/python-kitchen.spec index 54266ff..8435559 100644 --- a/python-kitchen.spec +++ b/python-kitchen.spec @@ -22,19 +22,18 @@ Name: python-kitchen Version: 1.2.5 Release: 0 Summary: Kitchen contains a cornucopia of useful code -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Languages/Python -Url: https://fedorahosted.org/kitchen/ +URL: https://fedorahosted.org/kitchen/ Source: https://files.pythonhosted.org/packages/source/k/kitchen/kitchen-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -# SECTION tests -BuildRequires: %{python_module nose} -# /SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - +# SECTION tests +BuildRequires: %{python_module nose} +# /SECTION %python_subpackages %description @@ -52,6 +51,7 @@ sed -i '1s/^#!.*//' kitchen2/kitchen/pycompat24/base64/_base64.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +export LANG='en_US.UTF8' %{python_expand # run test %if $python == python2 pushd kitchen2 @@ -62,8 +62,8 @@ nosetests-%{$python_version} popd} %files %{python_files} -%defattr(-,root,root,-) -%doc COPYING COPYING.LESSER NEWS.rst README.rst +%license COPYING COPYING.LESSER +%doc NEWS.rst README.rst %{python_sitelib}/* %changelog