I have created a package which has .tmp file. During unistallation of that package on red hat 7, I am getting warnings as below.
# rpm -e package_name
warning: file file_loc/abc.tmp: remove failed: No such file or directory
But, on other releases of REDHAT Linux, I didn't received this error.