yast2-core rpm is also supported the same way as compiling from sources

moved the common part at the section start
changed order - RPM package is much easier to install