!11 Upgrade to 2.0.1

From: @wu-leilei 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2023-05-05 07:51:35 +00:00 committed by Gitee
commit 46658fbd4a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 11 additions and 8 deletions

View File

@ -3,17 +3,19 @@
%bcond_without check %bcond_without check
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 2.0.0 Version: 2.0.1
Release: 2 Release: 1
Summary: Sphinx extension for HTML help files Summary: Sphinx extension for HTML help files
License: BSD-2-Clause License: BSD-2-Clause
URL: http://sphinx-doc.org/ 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 BuildArch: noarch
BuildRequires: gettext BuildRequires: gettext
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
%if %{with check} %if %{with check}
BuildRequires: python3-pytest BuildRequires: python3-pytest
@ -42,11 +44,11 @@ find -name '*.mo' -delete
for po in $(find -name '*.po'); do for po in $(find -name '*.po'); do
msgfmt --output-file=${po%.po}.mo ${po} msgfmt --output-file=${po%.po}.mo ${po}
done done
%py3_build %pyproject_build
%install %install
%py3_install %pyproject_install sphinxcontrib-htmlhelp==%{version}
# Move language files to /usr/share # Move language files to /usr/share
pushd %{buildroot}%{python3_sitelib} pushd %{buildroot}%{python3_sitelib}
@ -73,12 +75,13 @@ popd
%files -n python3-%{pypi_name} -f sphinxcontrib.htmlhelp.lang %files -n python3-%{pypi_name} -f sphinxcontrib.htmlhelp.lang
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python3_sitelib}/sphinxcontrib/ %{python3_sitelib}/*
%{python3_sitelib}/sphinxcontrib_htmlhelp-%{version}-py%{python3_version}-*.pth
%{python3_sitelib}/sphinxcontrib_htmlhelp-%{version}-py%{python3_version}.egg-info/
%changelog %changelog
* Thu May 04 2023 wulei <wu_lei@hoperun.com> - 2.0.1-1
- Update to 2.0.1
* Tue May 10 2022 yangping <yangping69@h-partners> - 2.0.0-2 * Tue May 10 2022 yangping <yangping69@h-partners> - 2.0.0-2
- License compliance rectification - License compliance rectification

Binary file not shown.

Binary file not shown.