disable make check

This commit is contained in:
sugarfillet 2020-03-22 00:18:34 +08:00
parent d30f140286
commit d31d076127

View File

@ -1,6 +1,6 @@
Name: python-humanize
Version: 0.5.1
Release: 15
Release: 16
Summary: python humanize module
License: MIT
URL: https://github.com/jmoiron/humanize
@ -45,10 +45,12 @@ popd
%find_lang humanize
sed -i 's|^.*%{python3_sitelib}.*||' humanize.lang
%check
%if %{?_with_check:1}%{!?_with_check:0}
/usr/bin/python2 setup.py test
pushd %{py3dir}
LANG=en_US.UTF-8 /usr/bin/python3 setup.py test
popd
%endif
%files -n python2-humanize -f humanize.lang
%doc README.rst LICENCE
@ -67,5 +69,9 @@ popd
%changelog
* Thu Dec 19 2019 Shuaishuai Song <songshuaishuai2@huawei.com> - 0.5.1-15
* Sun Mar 22 2020 Shuaishuai Song <songshuaishuai2@huawei.com> - 0.5.1-16
- disable make check
* Thu Dec 19 2019 Shuaishuai Song <songshuaishuai2@huawei.com> - 0.5.1-15
- package init