in the case I have here there is no initrd as it's a container. That's why there is no kernel and no dracut. %regenerate_initrd_posttrans is informal IMO, doesn't mean a package "requires" rebuilding the initrd. Just means it signals that it should be done if applicable.