From 0ca029d50d3b4f5622a9dff37aa241276cf651d3 Mon Sep 17 00:00:00 2001 From: Shuo Wang Date: Tue, 12 Sep 2023 20:09:42 +0800 Subject: [PATCH] add python_bootstrap for python update Signed-off-by: Shuo Wang --- python-sphinxcontrib-applehelp.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python-sphinxcontrib-applehelp.spec b/python-sphinxcontrib-applehelp.spec index 9192f9c..3be505c 100644 --- a/python-sphinxcontrib-applehelp.spec +++ b/python-sphinxcontrib-applehelp.spec @@ -1,9 +1,11 @@ +%bcond_with python_bootstrap + %global pypi_name sphinxcontrib-applehelp Summary: Sphinx extension for Apple help books Name: python-%{pypi_name} Version: 1.0.2 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD URL: http://sphinx-doc.org/ Source0: %{pypi_source} @@ -48,7 +50,10 @@ popd %find_lang sphinxcontrib.applehelp %check +# just close test when bootstrap build +%if %{without python_bootstrap} %pytest +%endif %files -n python%{python3_pkgversion}-%{pypi_name} -f sphinxcontrib.applehelp.lang %license LICENSE @@ -58,6 +63,9 @@ popd %{python3_sitelib}/sphinxcontrib_applehelp-%{version}-py%{python3_version}.egg-info/ %changelog +* Tue Sep 12 2023 Shuo Wang - 1.0.2-5 +- add python_bootstrap for python update + * Fri Sep 08 2023 OpenCloudOS Release Engineering - 1.0.2-4 - Rebuilt for OpenCloudOS Stream 23.09 -- Gitee