- Fix build without python2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-glean?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal 2020-04-30 07:48:16 +00:00 committed by Git OBS Bridge
parent 7513617335
commit 5009ab8d64
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 30 07:48:04 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 4 14:22:46 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com> Fri Oct 4 14:22:46 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-glean # 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 # 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
@ -23,7 +23,7 @@ Release: 0
Summary: Program to write static config from config-drive Summary: Program to write static config from config-drive
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python 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 Source: https://files.pythonhosted.org/packages/source/g/glean/glean-%{version}.tar.gz
BuildRequires: %{python_module pbr} BuildRequires: %{python_module pbr}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@ -62,6 +62,7 @@ notably Rackspace, use configuration provided via a configuration drive.
%check %check
%{python_expand rm -rf .testrepository %{python_expand rm -rf .testrepository
export PYTHON=$python
$python setup.py test $python setup.py test
} }