(In reply to Takashi Iwai from comment #13) > How about to change --opensuse with --preserve-kabi and pass 0%{sle_version} > instead? If the argument is non-zero, it's either SLE or Leap. Thanks for the suggestion. Renamed to --suse-release to make the argument name saner. Trying to understand what --preserve-kabi means here would be rather confusing because the kabi is not preserved here. It is assumed it is preserved in the kernel package.