update to 2.0.3

This commit is contained in:
Tom Callaway 2023-08-11 15:04:21 -04:00
parent 83f919297f
commit 1a64728bbd
2 changed files with 13 additions and 11 deletions

View File

@ -6,20 +6,16 @@
%bcond tests %[%{with check} && %{undefined rhel}]
Name: python-%{pypi_name}
Version: 2.0.0
Release: 12%{?dist}
Version: 2.0.3
Release: 1%{?dist}
Summary: Sphinx extension for HTML help files
License: BSD-2-Clause
URL: http://sphinx-doc.org/
Source0: %{pypi_source}
BuildArch: noarch
# In Sphinx 5 path.read_text() replaces path.text() - compatibility fix
Patch: https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/pull/16.patch
BuildRequires: gettext
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%if %{with check}
BuildRequires: python%{python3_pkgversion}-sphinx >= 1:2
@ -29,6 +25,10 @@ BuildRequires: python%{python3_pkgversion}-html5lib
%endif
%endif
%generate_buildrequires
%pyproject_buildrequires
%description
sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files.
@ -50,11 +50,11 @@ find -name '*.mo' -delete
for po in $(find -name '*.po'); do
msgfmt --output-file=${po%.po}.mo ${po}
done
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
# Move language files to /usr/share
pushd %{buildroot}%{python3_sitelib}
@ -85,11 +85,13 @@ 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 Aug 11 2023 Tom Callaway <spot@fedoraproject.org> - 2.0.3-1
- update to 2.0.3
* Thu Aug 10 2023 Karolina Surma <ksurma@redhat.com> - 2.0.0-12
- Declare the license as an SPDX expression

View File

@ -1 +1 @@
SHA512 (sphinxcontrib-htmlhelp-2.0.0.tar.gz) = 6ed673966615f3e818e00de4b7e59c27f0a0d7b494294f804540777c580480870c36002c08d8ad626b7b41a676fe40edc0b0b5ffc6ad8080f38f59c24e157636
SHA512 (sphinxcontrib-htmlhelp-2.0.3.tar.gz) = b405d222eaf07974fafee6cf2e20dc2dbdfe076b4fb63ac159402ad6198bccb53a23b3761bed958fa8269624d447950c27f59adfa31e6a072efb1a625f759487