14
0
forked from pool/python-pyVows

Accepting request 682531 from home:jayvdb:py-check-failures

- Add LANG="en_US.UTF-8" to fix build issue on Leap

OBS-URL: https://build.opensuse.org/request/show/682531
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyVows?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2019-03-07 16:41:14 +00:00
committed by Git OBS Bridge
parent 737e46b445
commit 9888b01691
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 7 15:52:32 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add LANG="en_US.UTF-8" to fix build issue on Leap
-------------------------------------------------------------------
Thu Feb 21 03:08:45 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -52,13 +52,16 @@ pyVows is a BDD test engine based on Vows.js <http://vowsjs.org>.
sed -i '/^#!/d' pyvows/__main__.py pyvows/cli.py
%build
export LANG="en_US.UTF-8"
%python_build
%install
export LANG="en_US.UTF-8"
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export LANG="en_US.UTF-8"
export PYTHONPATH=.
export PATH=%{buildroot}%{_bindir}:$PATH
%python_exec pyvows/cli.py -x tests/