Kernel compile with kmod-31

Has somebody succeeded in making an rpm package of a mainline kernel after upgrading to kmod-31 ? In my case, it always fails with this error:

DEPMOD /usr/src/linux-6.6/rpmbuild/BUILDROOT/kernel-6.6.8-12.x86_64/lib/modules/6.6.8
depmod: ERROR: could not open directory /usr/src/linux-6.6/rpmbuild/BUILDROOT/kernel-6.6.8-12.x86_64/usr/lib/modules/6.6.8: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
make[4]: *** [scripts/Makefile.modinst:128: depmod] Error 1
make[3]: *** [Makefile:1821: modules_install] Error 2

I found a patch which seem to address this problem here: https://github.com/SUSE/kernel-source/tree/master/patches.rpmify ( usrmerge-Adjust-module-path-in-the-kernel-sources.patch) but it doesn’t help.

Thanks in advance for your help.