[PATCH] scripts/sphinx-pre-install: fix incorrect package names for openSUSE
From: Danish Prakash
Date: Fri May 31 2024 - 02:20:23 EST
openSUSE made some changes to python package names in the recent
past and hence the current information on installing the relevant
doc-related packages yields no output when run on openSUSE distros.
Update the package names to the correct ones.
Signed-off-by: Danish Prakash <contact@xxxxxxxxxxxxxx>
---
scripts/sphinx-pre-install | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install
index c1121f098542..56bda8b43a44 100755
--- a/scripts/sphinx-pre-install
+++ b/scripts/sphinx-pre-install
@@ -465,8 +465,8 @@ sub give_redhat_hints()
sub give_opensuse_hints()
{
my %map = (
- "python-sphinx" => "python3-sphinx",
- "yaml" => "python3-pyyaml",
+ "python-sphinx" => "python3-Sphinx",
+ "yaml" => "python3-pyaml",
"virtualenv" => "python3-virtualenv",
"dot" => "graphviz",
"convert" => "ImageMagick",
--
2.45.1