AFAICS the correct dependency in yast2-firstboot.spec would be: Recommends: packageand(libyui-qt:icewm) I.e. if "libyui-qt" is installed, also install "icewm". Caveat: The package name would be "libyui-qt11", but we don't want to hard-code the SO-version of the library in the depencency, so we should use the more generic "libyui-qt" capability which that package also provides.