[Rpm-maint] [rpm-software-management/rpm] Add %mutable and %noupdate update policies (#152) (#200)

pavlinamv notifications at github.com
Wed Apr 19 18:52:44 UTC 2017


%mutable
- is defined for files and links. It means update until modified.

In more details:
- if a file/link is the same as in new package then touch it,
- if a file/link is the same as in old package then upgrade it as "normal" file/link,
- else do nothing.

%noupdate
- is defined for all file types used internally by rpm. It is for cases, where packager wants just the initial content, never to be touched by rpm again.

In more details:
- if the file does not exist, then create it,
- if the file exists, then do nothing.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/200

-- Commit Summary --

  * Add %mutable and %noupdate update policies (#152)

-- File Changes --

    M build/files.c (4)
    M lib/rpmfi.c (136)
    M lib/rpmfi_internal.h (25)
    M lib/rpmfiles.h (2)
    M lib/transaction.c (15)
    A tests/data/SPECS/updpolicy.spec (38)
    M tests/rpmi.at (254)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/200.patch
https://github.com/rpm-software-management/rpm/pull/200.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/200
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170419/92f02e62/attachment.html>


More information about the Rpm-maint mailing list