On Sun, 2021-09-05 at 16:09 +0200, Hans-Peter Jansen wrote:
latest rpmlint fails KMP builds, where their preamble doesn't contain something like:
Supplements: (kernel-%1 and %name) BuildRequires: kernel-syms BuildRequires: modutils
Those build requires should be satisfied in the spec file using
Before, usually just this was required (if I'm not mistaken): Requires: kernel-%1
rpmlint does complain (about a lot of things) and recommends the above preamble line, but I never understood why and I usually never do it. IMHO if that is really always needed, the Requires should be provided by the %kernel_module_package macros instead of us dragging around preamble files with our sources.
As a result, more or less any KMP, that I build, failed to build now.
I leave it up to the reader to decide whether this is a good or bad thing.
I don't have any build failures with TW and Leap and have no preamble.