I am trying to create a rpm with cumulative changes which is a tar ball i.e the tar contains all the modified files from GA release to current patch.
When I try to create a rpm build i use cp -Rp command to preserve the timestamp of the files but when i install using yum install the time changed to to the latest i.e installed time. I want to preserve the files time stamp because to know when the files was originally added in the tar ball. I have few queries
- Is there anyway to retain the timestamp?
- when i install using yum install will it replace the files like tar extract or skip the files which are same as the installation location?
- Is there a way to give custom location while yum install (or any other way ) ?
Thanks in advance