Add scriptlet-specific disablers for %pretrans and %posttrans 03/168303/1 submit/tizen_base/20180330.050344
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 10 Apr 2013 08:31:41 +0000 (11:31 +0300)
committerMikhail Kashkarov <m.kashkarov@partner.samsung.com>
Thu, 25 Jan 2018 12:09:09 +0000 (15:09 +0300)
commitf19535e68f6319ffaf104934b14cb12e665859bb
tree4639d76dda82b06fbfc995d74947bdc2c7a95541
parent079d890dfd09f5c175d05387c05bfdd7e47c66b4
Add scriptlet-specific disablers for %pretrans and %posttrans

- 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
doc/rpm.8
lib/poptI.c
lib/rpmts.h
lib/transaction.c
python/rpmmodule.c