Update to 2.0.1
This commit is contained in:
parent
de5240ca31
commit
74cdf34e46
@ -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.
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