add test and fix SP1 build bug
This commit is contained in:
parent
84607efa0f
commit
74f43da448
19
jieba.spec
19
jieba.spec
@ -31,10 +31,27 @@ BuildRequires: python3-wheel
|
|||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
pushd test
|
||||||
|
%{__python3} demo.py
|
||||||
|
%{__python3} jieba_test.py
|
||||||
|
%{__python3} test.py
|
||||||
|
%{__python3} test_bug.py
|
||||||
|
%{__python3} test_change_dictpath.py
|
||||||
|
%{__python3} test_cut_for_search.py
|
||||||
|
%{__python3} test_cutall.py
|
||||||
|
%{__python3} test_no_hmm.py
|
||||||
|
%{__python3} test_multithread.py
|
||||||
|
%{__python3} test_pos.py
|
||||||
|
%{__python3} test_pos_no_hmm.py
|
||||||
|
%{__python3} test_tokenize.py
|
||||||
|
%{__python3} test_tokenize_no_hmm.py
|
||||||
|
%{__python3} test_userdict.py
|
||||||
|
popd
|
||||||
|
|
||||||
%files -n python3-jieba
|
%files -n python3-jieba
|
||||||
%{python3_sitelib}/jieba/
|
%{python3_sitelib}/jieba/
|
||||||
%{python3_sitelib}/jieba-0.42.1-*.egg-info/
|
%{python3_sitelib}/jieba-0.42.1-*.egg-info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Dec 6 2022 wqh17101 <597935261@qq.com> - 0.42.1-1
|
* Tue Dec 6 2022 wqh17101 <597935261@qq.com> - 0.42.1-1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user