diff --git a/python-sphinxcontrib-serializinghtml.spec b/python-sphinxcontrib-serializinghtml.spec index 28f6c71c83a41bbc614895cfba6ff1dd643150b5..63a59980fb419e8433827acc1649d3b172e6b39c 100644 --- a/python-sphinxcontrib-serializinghtml.spec +++ b/python-sphinxcontrib-serializinghtml.spec @@ -3,11 +3,11 @@ Summary: Sphinx extension for serialized HTML Name: python-%{pypi_name} -Version: 1.1.5 -Release: 6%{?dist} +Version: 1.1.9 +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 @@ -29,14 +29,18 @@ pickle). %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/serializinghtml/locales -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -printf "%f "`; @@ -61,10 +65,12 @@ popd %license LICENSE %doc README.rst %{python3_sitelib}/sphinxcontrib/ -%{python3_sitelib}/sphinxcontrib_serializinghtml-%{version}-py%{python3_version}-*.pth -%{python3_sitelib}/sphinxcontrib_serializinghtml-%{version}-py%{python3_version}.egg-info/ +%{python3_sitelib}/sphinxcontrib_serializinghtml*.dist-info %changelog +* Fri Sep 22 2023 Shuo Wang - 1.1.9-1 +- update to 1.1.9 + * Tue Sep 19 2023 OpenCloudOS Release Engineering - 1.1.5-6 - Rebuilt for python 3.11 diff --git a/sources b/sources index ba0216316f208be1022f4a7b5b9426e746079169..d16c1501c79679907c8fd4c079e0e753a523fcef 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sphinxcontrib-serializinghtml-1.1.5.tar.gz) = c5aabe4d29fd0455c269f8054089fdd61e1de5c35aa407740fc3baae4cfb3235d9fd5515c0489b0becd12abc8f18d0f42aa169ed315c00f30ba87e64ce851667 +SHA512 (1.1.9.tar.gz) = f40dc6159232a39e4926bbb867470314b060574c6f5b39117bab5d15f97126b4833ee97777131bf60b3a8e4968419ad4c32d8b42e5fe175ce70fc3fe9ef8a1cd