diff --git a/python-sphinxcontrib-htmlhelp.spec b/python-sphinxcontrib-htmlhelp.spec
index 34f8b3e412acd4390e84047940921be1a035cec3..6f23537fd5b0cdd5af2b4f2bd47cdb8f3db560e5 100644
--- a/python-sphinxcontrib-htmlhelp.spec
+++ b/python-sphinxcontrib-htmlhelp.spec
@@ -3,17 +3,19 @@
%bcond_without check
Name: python-%{pypi_name}
-Version: 2.0.0
-Release: 2
+Version: 2.0.1
+Release: 1
Summary: Sphinx extension for HTML help files
License: BSD-2-Clause
URL: http://sphinx-doc.org/
-Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-%{version}.tar.gz
+Source0: https://files.pythonhosted.org/packages/b3/47/64cff68ea3aa450c373301e5bebfbb9fce0a3e70aca245fcadd4af06cd75/sphinxcontrib-htmlhelp-2.0.1.tar.gz
BuildArch: noarch
BuildRequires: gettext
BuildRequires: python3-devel
BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
%if %{with check}
BuildRequires: python3-pytest
@@ -42,11 +44,11 @@ find -name '*.mo' -delete
for po in $(find -name '*.po'); do
msgfmt --output-file=${po%.po}.mo ${po}
done
-%py3_build
+%pyproject_build
%install
-%py3_install
+%pyproject_install sphinxcontrib-htmlhelp==%{version}
# Move language files to /usr/share
pushd %{buildroot}%{python3_sitelib}
@@ -73,12 +75,13 @@ popd
%files -n python3-%{pypi_name} -f sphinxcontrib.htmlhelp.lang
%license LICENSE
%doc README.rst
-%{python3_sitelib}/sphinxcontrib/
-%{python3_sitelib}/sphinxcontrib_htmlhelp-%{version}-py%{python3_version}-*.pth
-%{python3_sitelib}/sphinxcontrib_htmlhelp-%{version}-py%{python3_version}.egg-info/
+%{python3_sitelib}/*
%changelog
+* Thu May 04 2023 wulei - 2.0.1-1
+- Update to 2.0.1
+
* Tue May 10 2022 yangping - 2.0.0-2
- License compliance rectification
diff --git a/sphinxcontrib-htmlhelp-2.0.0.tar.gz b/sphinxcontrib-htmlhelp-2.0.0.tar.gz
deleted file mode 100644
index 894519423552d91eb60314c1733cc5890615e789..0000000000000000000000000000000000000000
Binary files a/sphinxcontrib-htmlhelp-2.0.0.tar.gz and /dev/null differ
diff --git a/sphinxcontrib-htmlhelp-2.0.1.tar.gz b/sphinxcontrib-htmlhelp-2.0.1.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..16452c46ecf92c181d035b113be64502b1fe324e
Binary files /dev/null and b/sphinxcontrib-htmlhelp-2.0.1.tar.gz differ