From 3203c030c0bfadd6d4a0e128ea067ce307ce7611 Mon Sep 17 00:00:00 2001 From: Shuo Wang Date: Fri, 22 Sep 2023 14:16:51 +0800 Subject: [PATCH] update to 2.0.3 Signed-off-by: Shuo Wang --- python-sphinxcontrib-htmlhelp.spec | 20 +++++++++++++------- sources | 2 +- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/python-sphinxcontrib-htmlhelp.spec b/python-sphinxcontrib-htmlhelp.spec index 9e0cac9..9cc53fe 100644 --- a/python-sphinxcontrib-htmlhelp.spec +++ b/python-sphinxcontrib-htmlhelp.spec @@ -4,11 +4,11 @@ Summary: Sphinx extension for HTML help files Name: python-%{pypi_name} -Version: 2.0.0 -Release: 6%{?dist} +Version: 2.0.3 +Release: 1%{?dist} License: BSD URL: http://sphinx-doc.org/ -Source0: %{pypi_source} +Source0: https://github.com/sphinx-doc/%{pypi_name}/archive/refs/tags/%{version}.tar.gz BuildRequires: gettext python%{python3_pkgversion}-devel python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-pytest python%{python3_pkgversion}-sphinx BuildRequires: python%{python3_pkgversion}-html5lib @@ -28,14 +28,18 @@ sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files. %autosetup -n %{pypi_name}-%{version} find -name '*.mo' -delete +%generate_buildrequires +%pyproject_buildrequires + %build for po in $(find -name '*.po'); do msgfmt --output-file=${po%.po}.mo ${po} done -%py3_build + +%pyproject_wheel %install -%py3_install +%pyproject_install pushd %{buildroot}%{python3_sitelib} for lang in `find sphinxcontrib/htmlhelp/locales -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -printf "%f "`; @@ -59,10 +63,12 @@ popd %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}/sphinxcontrib_htmlhelp*.dist-info %changelog +* Fri Sep 22 2023 Shuo Wang - 2.0.3-1 +- update to 2.0.3 + * Tue Sep 19 2023 OpenCloudOS Release Engineering - 2.0.0-6 - Rebuilt for python 3.11 diff --git a/sources b/sources index 7acc93d..0eaf022 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sphinxcontrib-htmlhelp-2.0.0.tar.gz) = 6ed673966615f3e818e00de4b7e59c27f0a0d7b494294f804540777c580480870c36002c08d8ad626b7b41a676fe40edc0b0b5ffc6ad8080f38f59c24e157636 +SHA512 (2.0.3.tar.gz) = 0c09f6d4c7cb41146c5b7ea8c650e44a916bf44cb767909070937454246bf001fc1f1618ea00053224a625d32938b8af96a4c792b2bf75a21fb2eb2e44603714 -- Gitee