!11 Upgrade to 2.0.1
From: @wu-leilei Reviewed-by: @cherry530 Signed-off-by: @cherry530
This commit is contained in:
commit
46658fbd4a
@ -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 <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
|
||||
- License compliance rectification
|
||||
|
||||
|
||||
Binary file not shown.
BIN
sphinxcontrib-htmlhelp-2.0.1.tar.gz
Normal file
BIN
sphinxcontrib-htmlhelp-2.0.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user