Is there any way to make yum/rpm never install a particular file path, but to otherwise install any packages which contain that file path, and for verification to act as if that file exists? For example, a certain package puts a file in
/etc/cron.daily that I don't want. I figured out a hack for that particular issue, but it seems like it might be something that could come in handy in other circumstances.
EDIT: I tried using RPM filetriggers to delete the file right after it was installed, but it didn't do anything. Plus it would probably have failed the yum verification step.