diff --git a/2c3e22e3e8e743960.patch b/2c3e22e3e8e743960.patch new file mode 100644 index 0000000..a4e305b --- /dev/null +++ b/2c3e22e3e8e743960.patch @@ -0,0 +1,25 @@ +From 6e5d24b9bbb513ce2666f12724aa5da3ab0700bb Mon Sep 17 00:00:00 2001 +From: Adam Turner <9087854+aa-turner@users.noreply.github.com> +Date: Mon, 24 Nov 2025 22:47:51 +0000 +Subject: [PATCH] Use new package name for ``roman-numerals`` + +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 4e59e90..717c135 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -75,7 +75,7 @@ dependencies = [ + "alabaster>=0.7.14", + "imagesize>=1.3", + "requests>=2.30.0", +- "roman-numerals-py>=1.0.0", ++ "roman-numerals>=1.0.0", + "packaging>=23.0", + "colorama>=0.4.6; sys_platform == 'win32'", + ] +-- +2.53.0 + diff --git a/python-sphinx.spec b/python-sphinx.spec index 2b29abd..f058893 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -1,7 +1,7 @@ # When bootstrapping sphinx in Fedora, we don't yet have sphinxcontrib-* # Without the packages, we have warnings in docs, but it's not a hard dependency # We don't want to support sphinxcontrib-* in RHEL, hence disabling the dependencies -%bcond sphinxcontrib %{undefined rhel} +%bcond sphinxcontrib 0 # RHEL does not include python3-snowballstemmer (SRPM: snowball) %bcond snowballstemmer %{undefined rhel} # Also, we don't have all the tests requirements @@ -64,6 +64,11 @@ Patch: https://github.com/sphinx-doc/sphinx/pull/13527.patch # Compatibility with docutils 0.22+ Patch: https://github.com/sphinx-doc/sphinx/pull/13610.patch Patch: https://github.com/sphinx-doc/sphinx/pull/13883.patch +# Use new package name for roman-numerals +# Fixes https://bugzilla.redhat.com/2438819 +# https://github.com/sphinx-doc/sphinx/commit/2c3e22e3e8e743960 +# Temporary backport before we update to Sphinx 9, rebased +Patch: 2c3e22e3e8e743960.patch BuildArch: noarch