commit
7c6a3f6be4
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user