forked from pool/python-stestr
- fix build for anything older than Tumbleweed by explicitly setting
utf8 locale OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stestr?expand=0&rev=26
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 13:17:37 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- fix build for anything older than Tumbleweed by explicitly setting
|
||||
utf8 locale
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 09:51:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@@ -78,14 +78,17 @@ and has examples.
|
||||
rm stestr/tests/repository/test_sql.py
|
||||
|
||||
%build
|
||||
export LC_ALL="en_US.UTF8"
|
||||
%python_build
|
||||
|
||||
%install
|
||||
export LC_ALL="en_US.UTF8"
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/stestr
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export LC_ALL="en_US.UTF8"
|
||||
# test_empty_with_pretty_out - edge case not triggered in OBS
|
||||
%{python_expand mkdir build/bin
|
||||
for filepath in %{buildroot}/%{_bindir}/stestr*-%{$python_bin_suffix}; do
|
||||
|
Reference in New Issue
Block a user