From cc837bde48bd391386ce50e77c4cc6377f2d3095630730fb70cf61709ed8dcec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 30 Apr 2020 07:48:16 +0000 Subject: [PATCH] - Fix build without python2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-glean?expand=0&rev=9 --- python-glean.changes | 5 +++++ python-glean.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-glean.changes b/python-glean.changes index 49623ed..f7e8b49 100644 --- a/python-glean.changes +++ b/python-glean.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 30 07:48:04 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + ------------------------------------------------------------------- Fri Oct 4 14:22:46 UTC 2019 - Marketa Calabkova diff --git a/python-glean.spec b/python-glean.spec index d2eef8b..e805759 100644 --- a/python-glean.spec +++ b/python-glean.spec @@ -1,7 +1,7 @@ # # spec file for package python-glean # -# 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 @@ -23,7 +23,7 @@ Release: 0 Summary: Program to write static config from config-drive License: Apache-2.0 Group: Development/Languages/Python -Url: http://www.openstack.org/ +URL: http://www.openstack.org/ Source: https://files.pythonhosted.org/packages/source/g/glean/glean-%{version}.tar.gz BuildRequires: %{python_module pbr} BuildRequires: %{python_module setuptools} @@ -62,6 +62,7 @@ notably Rackspace, use configuration provided via a configuration drive. %check %{python_expand rm -rf .testrepository +export PYTHON=$python $python setup.py test }