Spark for Linux (RPM): funny mistype leads to inability to start Spark

OpenSuSE Timbleweed, Spark-2.8.1.893-1.x86_64
Just after RPM installation it’s not possible to start spark:

/usr/bin/spark: line 3: -Dappdir=/usr/share/spark/: No such file or directory

The root cause is funny: Line 3 will starts from “java -Dappdir…” but “java” just missed here. The fix is quite simple: just add “java” in the start of this string.