On Tue, 2021-09-07 at 17:36 +0200, Hans-Peter Jansen wrote:
Hi Scott,
Am Montag, 6. September 2021, 20:46:08 CEST schrieb Scott Bahling:
Hi,
On Sun, 2021-09-05 at 16:09 +0200, Hans-Peter Jansen wrote:
FYI,
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
BuildRequires: %kernel_module_package_buildreqs
Before, usually just this was required (if I'm not mistaken): Requires: kernel-%1
I didn't manage to pass the rpmlint check on TW with a just a preamble like that. In other words, BuildRequires: %kernel_module_package_buildreqs didn't help (neither globally, nor in the KMP section).
Only completing the preamble again, as noted above, make the build succeed. [ignoring dirty rpmlintrc measures for now..]
This issue was brought up on the factory ML today - apparently there was a bug introduced in rpmlint. Should be fixed now. -Scott