On wo, 2015-07-08 at 17:42 +0200, Espen Carlsen wrote: > I have tested my suggested changes on: > CentOS 6.5, 7.0, Ubuntu 14.04 and 12.04. After the patch the kernel > -devel package will be correct on all systems. > Without the patch, only CentOS generates correct packages. Wild guess: do the Ubuntu systems already have /lib/modules/4.1.0/build /lib/modules/4.1.0/source as symlinks to /usr/src/kernels/4.1.0 when you're building the rpms? (That is, not in rpm's buildroot, but in the actual filesystem.) Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html