diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2013-04-10 11:31:41 +0300 |
---|---|---|
committer | Mikhail Kashkarov <m.kashkarov@partner.samsung.com> | 2018-01-25 15:09:09 +0300 |
commit | f19535e68f6319ffaf104934b14cb12e665859bb (patch) | |
tree | 4639d76dda82b06fbfc995d74947bdc2c7a95541 /doc | |
parent | 079d890dfd09f5c175d05387c05bfdd7e47c66b4 (diff) | |
download | rpm-f19535e68f6319ffaf104934b14cb12e665859bb.tar.gz rpm-f19535e68f6319ffaf104934b14cb12e665859bb.tar.bz2 rpm-f19535e68f6319ffaf104934b14cb12e665859bb.zip |
Add scriptlet-specific disablers for %pretrans and %posttranssubmit/tizen_base/20180330.050344
- Previously %pretrans and %posttrans were tied to --nopre and --nopost
disablers (since commit 0b2d7775c5e828652e45829f551352b93890bbc8)
because back then, there was no room new disablers in rpmtransFlags
bitfield. This is no longer the case as of rpm >= 4.9.x where
a bunch of obsolete flags were axed, so we can now add specific
--nopretrans and --noposttrans switches + corresponding flags.
- This is obviously a behavior change as --nopre and --nopost no
longer affect %pretrans and %posttrans, but --noscripts behavior
remains the same.
Change-Id: I7d8ebba44573f0a72a4eecfc8040af86e95409ce
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rpm.8 | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -281,6 +281,10 @@ packages would normally be reordered to satisfy dependencies. \fB--nopreun\fR .TP \fB--nopostun\fR +.TP +\fB--nopretrans\fR +.TP +\fB--noposttrans\fR Don't execute the scriptlet of the same name. The \fB--noscripts\fR option is equivalent to @@ -288,12 +292,16 @@ The \fB--noscripts\fR option is equivalent to \fB--nopost\fR \fB--nopreun\fR \fB--nopostun\fR +\fB--nopretrans\fR +\fB--noposttrans\fR and turns off the execution of the corresponding \fB%pre\fR, \fB%post\fR, -\fB%preun\fR, and +\fB%preun\fR, \fB%postun\fR +\fB%pretrans\fR, and +\fB%posttrans\fR scriptlet(s). .TP \fB--notriggers\fR |