diff --git a/python-sphinxcontrib-serializinghtml.changes b/python-sphinxcontrib-serializinghtml.changes index 7b9fcf8..695caae 100644 --- a/python-sphinxcontrib-serializinghtml.changes +++ b/python-sphinxcontrib-serializinghtml.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Aug 29 19:11:22 UTC 2023 - Matej Cepl + +- Clean up the SPEC file + +------------------------------------------------------------------- +Mon Aug 28 11:50:32 UTC 2023 - Markéta Machová + +- Update to 1.0.9 + * Drop support for Python 3.5, 3.6, 3.7, and 3.8 + * Raise minimum required Sphinx version to 5.0 + * Fix tests for Sphinx 7.1 and below + * Use ``os.PathLike`` over ``pathlib.Path`` + * Serialise context["script_files"] and context["css_files"] as their filenames + on Sphinx 7.2.0. + ------------------------------------------------------------------- Fri Apr 21 12:37:01 UTC 2023 - Dirk Müller diff --git a/python-sphinxcontrib-serializinghtml.spec b/python-sphinxcontrib-serializinghtml.spec index 0fd854b..ca95966 100644 --- a/python-sphinxcontrib-serializinghtml.spec +++ b/python-sphinxcontrib-serializinghtml.spec @@ -25,23 +25,24 @@ %define psuffix %{nil} %bcond_with test %endif -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-sphinxcontrib-serializinghtml%{psuffix} -Version: 1.1.5 +Version: 1.1.9 Release: 0 Summary: Sphinx extension which outputs serialized HTML files License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/sphinx-doc/sphinxcontrib-serializinghtml -Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-serializinghtml/sphinxcontrib_serializinghtml-%{version}.tar.gz +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Sphinx +Requires: python-Sphinx >= 5.0 BuildArch: noarch %if %{with test} -BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module Sphinx >= 5.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module sphinxcontrib-serializinghtml >= %{version}} %endif @@ -52,14 +53,14 @@ sphinxcontrib-serializinghtml is a sphinx extension which outputs "serialized" HTML files (json and pickle). %prep -%setup -q -n sphinxcontrib-serializinghtml-%{version} +%setup -q -n sphinxcontrib_serializinghtml-%{version} %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -72,7 +73,9 @@ sphinxcontrib-serializinghtml is a sphinx extension which outputs %files %{python_files} %doc README.rst CHANGES %license LICENSE -%{python_sitelib}/* +%dir %{python_sitelib}/sphinxcontrib +%{python_sitelib}/sphinxcontrib/serializinghtml +%{python_sitelib}/sphinxcontrib_serializinghtml-%{version}*-info %endif %changelog diff --git a/sphinxcontrib-serializinghtml-1.1.5.tar.gz b/sphinxcontrib-serializinghtml-1.1.5.tar.gz deleted file mode 100644 index 86062f9..0000000 --- a/sphinxcontrib-serializinghtml-1.1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952 -size 21019 diff --git a/sphinxcontrib_serializinghtml-1.1.9.tar.gz b/sphinxcontrib_serializinghtml-1.1.9.tar.gz new file mode 100644 index 0000000..1b024c6 --- /dev/null +++ b/sphinxcontrib_serializinghtml-1.1.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c64ff898339e1fac29abd2bf5f11078f3ec413cfe9c046d3120d7ca65530b54 +size 15446