On Tuesday, June 2, 2020 11:21:07 PM CEST Neal Gompa wrote:
On Tue, Jun 2, 2020 at 5:19 PM Miroslav Suchý
> Dne 02. 06. 20 v 23:02 Quentin Barnes napsal(a):
> > 2) the "kernel-rpm-macros"
> > package needs to be added to the @buildsys-build group for Fedora
> That should be a final solution.
> Variant is that `fedora-rpm-macros` will requires "kernel-rpm-macros".
> > (or added to the "config_opts['chroot_setup_cmd']=..." cfg
> > CentOS/RHEL).
> This is quick'n'dirty hack to unblock you for local builds and for testing.
This needs to be done in mock configs for everyone, because it's
completely broken without that package being pulled in. I had to do a
similar trick to get the wireguard kmod package to build for EL8
As long as it isn't enough to put "Requires: kernel-rpm-macros" to the
that need it, and it simply has to be in minimal buildroot => the only sane way
is to ask redhat-rpm-config maintainers to set "Requires: kernel-rpm-macros".