RPM packages remove only files, declared in the %files section, they are responsible for. They will not remove files out of this list. It means that your example with crazy_cmd is not valid.
RPM packages remove only files, declared in the %files section, they are responsible for. They will not remove files out of this list. It means that your example with crazy_cmd is not valid.