diff --git a/poissonsearch-py.spec b/poissonsearch-py.spec index 60b8956..73b0b52 100644 --- a/poissonsearch-py.spec +++ b/poissonsearch-py.spec @@ -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 - 1.0.0-1 +* Thu Mar 28 2024 linshoubao - 1.0.0-1 - Package Spec generated and version 1.0.0.