I tried to add the dmesg command in multiple ways into the spec file (of the build process) in my home repo this weekend. It was not possible to reproduce it there. I look how to do that in another way today.