!5 工程构建不走check,调整spec代码中check位置,解决工程构建报错问题
From: @lin-shoubao Reviewed-by: @liantianbaiyun Signed-off-by: @liantianbaiyun
This commit is contained in:
commit
152c722633
@ -50,14 +50,6 @@ to be opinion-free and very extendable.
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
pushd test_elasticsearch
|
||||
pytest test_serializer.py
|
||||
pytest test_helpers.py
|
||||
pytest test_connection_pool.py
|
||||
pytest test_cases.py
|
||||
pushd ../
|
||||
|
||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||
@ -84,6 +76,14 @@ popd
|
||||
mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
%check
|
||||
pushd test_elasticsearch
|
||||
pytest test_serializer.py
|
||||
pytest test_helpers.py
|
||||
pytest test_connection_pool.py
|
||||
pytest test_cases.py
|
||||
pushd ../
|
||||
|
||||
%files -n python3-poissonsearch-py -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
|
||||
@ -91,6 +91,6 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 27 2024 linshoubao <linshoubao@163.com> - 1.0.0-1
|
||||
* Thu Mar 28 2024 linshoubao <linshoubao@163.com> - 1.0.0-1
|
||||
- Package Spec generated and version 1.0.0.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user