Hi Danish, Em Fri, 31 May 2024 11:49:15 +0530 Danish Prakash <contact@xxxxxxxxxxxxxx> escreveu: > 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", The best would be to check for the openSUSE version, as otherwise such change will break for others using older versions. There are some such checks already for other distros. See, for instance sub give_redhat_hints() { ... $rel = $1 if ($system_release =~ /release\s+(\d+)/); if (!($system_release =~ /Fedora/)) { ... } else { if ($rel && $rel < 26) { $old = 1; } if ($rel && $rel >= 38) { $noto_sans_redhat = "google-noto-sans-cjk-fonts"; } } There, it handles Fedora different than RHEL/CentOS, and, for Fedora, it checks the release version to make the code compatible with different versions. Regards, Mauro