[Rpm-maint] [rpm-software-management/rpm] RFE: option for initial-only content in files (#152)

pavlinamv notifications at github.com
Wed Apr 12 07:51:40 UTC 2017


I try to sum up what I think that should be done with this issue.

Name is unresolved. I chose "mutable" as an interim one.
%mutable will be defined for REG files and LINKs.

 Behavior :
       - if a file/link is the same as in new package
         (it has the same contents, gid, uid and mode)/(is the same),
         then touch it (set time stamp for REG files).
       - if a file/link is the same as in old package
         (it has the same contents, gid, uid and mode)/(is the same),
         then upgrade it as "normal" file/link
       - else do nothing

 (It means, that for config files/links rpm will behave similarly as %config(noreplace),
  but without creation backup files and warnings. The only difference is that
  this behavior takes files with the same contents but different uid or gid or mode
  as different. For %config(noreplace) such files are similar. )


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/152#issuecomment-293501438
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170412/80b1ee90/attachment.html>


More information about the Rpm-maint mailing list