Accepting request 682425 from devel:languages:python

- Fix test macro expansion

OBS-URL: https://build.opensuse.org/request/show/682425
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wcwidth?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2019-03-12 08:44:34 +00:00 committed by Git OBS Bridge
commit 9791338b63
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 7 11:18:22 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Fix test macro expansion
-------------------------------------------------------------------
Thu Sep 6 10:10:27 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-wcwidth
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -59,7 +59,7 @@ release files, which this project aims to track.
%check
pushd wcwidth/tests
%python_expand PYTHONPATH=%{buildroot}%{python_sitelib} nosetests-%{python_bin_suffix}
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix}
popd
%files %{python_files}