Dont create redundant %config backups when on-disk content is same as new
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 20 Aug 2012 09:42:36 +0000 (12:42 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 20 Aug 2012 09:42:36 +0000 (12:42 +0300)
commit7a50e9de80ab3c47618dad1e9a5b2d9b79bfc8dc
treebd5a7a90afd5be68e1cb858557f94769e67236a9
parent2067c7c0d38eae794c36f598faa227d644e81046
Dont create redundant %config backups when on-disk content is same as new

- When on-disk %config file contents match the contents of the new
  package (such as config in old package was buggy, fixed in new
  and admin worked around in the meantime) there's no point creating
  a backup that's identical to what you already have. Note that
  we create the new config anyway instead of skipping as timestamp
  might have changed.
- Adjust test-cases to the new saner behavior.
lib/rpmfi.c
tests/rpmconfig.at