diff --git a/python-sphinxcontrib-serializinghtml.spec b/python-sphinxcontrib-serializinghtml.spec
index 365b5a7ec84a5713bd08db7ac4ef96495e2ebeb0..11fb06dc9dd29430d715262f92a971df4deffd5f 100644
--- a/python-sphinxcontrib-serializinghtml.spec
+++ b/python-sphinxcontrib-serializinghtml.spec
@@ -1,9 +1,10 @@
+%bcond_with python_bootstrap
%global pypi_name sphinxcontrib-serializinghtml
Summary: Sphinx extension for serialized HTML
Name: python-%{pypi_name}
Version: 1.1.5
-Release: 4%{?dist}
+Release: 5%{?dist}
License: BSD
URL: http://sphinx-doc.org/
Source0: %{pypi_source}
@@ -51,7 +52,10 @@ popd
%find_lang sphinxcontrib.serializinghtml
%check
+# just close test when bootstrap build
+%if %{without python_bootstrap}
%pytest
+%endif
%files -n python%{python3_pkgversion}-%{pypi_name} -f sphinxcontrib.serializinghtml.lang
%license LICENSE
@@ -61,6 +65,9 @@ popd
%{python3_sitelib}/sphinxcontrib_serializinghtml-%{version}-py%{python3_version}.egg-info/
%changelog
+* Tue Sep 12 2023 Shuo Wang - 1.1.5-5
+- add python_bootstrap for python update
+
* Fri Sep 08 2023 OpenCloudOS Release Engineering - 1.1.5-4
- Rebuilt for OpenCloudOS Stream 23.09