diff --git a/python-sphinxcontrib-htmlhelp.changes b/python-sphinxcontrib-htmlhelp.changes
index 1d3163a..eb10956 100644
--- a/python-sphinxcontrib-htmlhelp.changes
+++ b/python-sphinxcontrib-htmlhelp.changes
@@ -1,3 +1,16 @@
+-------------------------------------------------------------------
+Sat Jul 20 16:15:23 UTC 2024 - Matej Cepl
+
+- Update to 2.0.6:
+ - Fix tests for Sphinx 7.4 and later.
+- Enable tests again
+
+-------------------------------------------------------------------
+Fri Jul 19 23:59:01 UTC 2024 - Matej Cepl
+
+- Clean up SPEC file.
+- Skip failing tests (gh#sphinx-doc/sphinx#12623)
+
-------------------------------------------------------------------
Sun Jan 14 10:47:30 UTC 2024 - Dirk Müller
diff --git a/python-sphinxcontrib-htmlhelp.rpmlintrc b/python-sphinxcontrib-htmlhelp.rpmlintrc
new file mode 100644
index 0000000..b2b55f2
--- /dev/null
+++ b/python-sphinxcontrib-htmlhelp.rpmlintrc
@@ -0,0 +1,2 @@
+addFilter("hidden-file-or-dir /usr/lib/python.*/sphinxcontrib/htmlhelp/locales/\.tx")
+addFilter("file-not-in-%lang /usr/lib/python.*/site-packages/sphinxcontrib/htmlhelp/locales/.*\.mo")
diff --git a/python-sphinxcontrib-htmlhelp.spec b/python-sphinxcontrib-htmlhelp.spec
index d17e81f..348b62c 100644
--- a/python-sphinxcontrib-htmlhelp.spec
+++ b/python-sphinxcontrib-htmlhelp.spec
@@ -1,5 +1,5 @@
#
-# spec file
+# spec file for package python-sphinxcontrib-htmlhelp
#
# Copyright (c) 2024 SUSE LLC
#
@@ -16,7 +16,6 @@
#
-%{?sle15_python_module_pythons}
%define skip_python2 1
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
@@ -26,14 +25,16 @@
%define psuffix %{nil}
%bcond_with test
%endif
+%{?sle15_python_module_pythons}
Name: python-sphinxcontrib-htmlhelp%{psuffix}
-Version: 2.0.5
+Version: 2.0.6
Release: 0
-Summary: Sphinx contrib extension to generate html help files
+Summary: Sphinx extension to generate HTML help files
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
-Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_htmlhelp/sphinxcontrib_htmlhelp-%{version}.tar.gz
+Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_htmlhelp/sphinxcontrib_htmlhelp-%{version}.tar.gz
+Source99: python-sphinxcontrib-htmlhelp.rpmlintrc
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
@@ -49,7 +50,7 @@ BuildRequires: %{python_module sphinxcontrib-htmlhelp >= %{version}}
%python_subpackages
%description
-Html help generating extension.
+sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files.
%prep
%autosetup -p1 -n sphinxcontrib_htmlhelp-%{version}
diff --git a/sphinxcontrib_htmlhelp-2.0.5.tar.gz b/sphinxcontrib_htmlhelp-2.0.5.tar.gz
deleted file mode 100644
index ad2e1df..0000000
--- a/sphinxcontrib_htmlhelp-2.0.5.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0dc87637d5de53dd5eec3a6a01753b1ccf99494bd756aafecd74b4fa9e729015
-size 21925
diff --git a/sphinxcontrib_htmlhelp-2.0.6.tar.gz b/sphinxcontrib_htmlhelp-2.0.6.tar.gz
new file mode 100644
index 0000000..d5847f9
--- /dev/null
+++ b/sphinxcontrib_htmlhelp-2.0.6.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c6597da06185f0e3b4dc952777a04200611ef563882e0c244d27a15ee22afa73
+size 21957