From: David Ward on
gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1088#note_5662...
But removing the stuff for a specific vanilla variant it totally fine
for me, as long as the `nopatches` stuff stays, as that makes my life
easier :-D
The changes I'm proposing here would not remove `--with-vanilla`. (I
think it is useful too.)
This would fix it, the same way you are already fixing it now: by not
setting `%{variant}` for vanilla builds (and assuming `%{buildid}` will
be set instead).