scripts: sphinx-pre-install: fix Leap support for rsvg-convert

There is a test logic meant to be for Leap, renaming rsvg-convert
package. Well, at least on latest Leap releases, this is wrong,
causing install to fail. Drop it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/6fcc94533d860e2f6f4f2c7d6ceb6cca70f48bb6.1754992972.git.mchehab+huawei@kernel.org
This commit is contained in:
Mauro Carvalho Chehab 2025-08-12 17:52:33 +02:00 committed by Jonathan Corbet
parent cccc538981
commit 8b18e86f6c

View file

@ -566,10 +566,6 @@ class SphinxDependencyChecker:
"yaml": "python3-pyyaml",
}
# On Tumbleweed, this package is also named rsvg-convert
if not re.search(r"Tumbleweed", self.system_release):
progs["rsvg-convert"] = "rsvg-view"
suse_tex_pkgs = [
"texlive-babel-english",
"texlive-caption",