Description of problem: rpm 4.4.x's new format of '%__vsflags' should be documented; this isn't currently the case. Version-Release number of selected component (if applicable): rpm-4.4.1-0.18 Actual results: Currently only a old and single example for customizing %__vsflags is provided, which doesn't work with rpm 4.4.x. Expected results: Apply of the provided patch for solving this problem: --- snipp --- --- rpm-4.4.1/macros.in 2004-12-05 21:05:46.000000000 +0100 +++ rpm-4.4.1/macros.in.rsc 2004-12-15 16:43:46.000000000 +0100 @@ -726,7 +726,22 @@ %_rollback_transaction_on_failure 0 # Verify digest/signature flags for various rpm modes: -# 1 --nohdrchk if set, don't check rpmdb headers +# 0x30300 (_RPMVSF_NODIGESTS) --nohdrchk if set, don't check digest(s) +# 0xc0c00 (_RPMVSF_NOSIGNATURES) --nosignature if set, don't check signature(s) +# 0xf0000 (_RPMVSF_NOPAYLOAD) --nolegacy if set, check header+payload (if possible) +# 0x00f00 (_RPMVSF_NOHEADER) --nohdrchk if set, don't check rpmdb headers +# +# For example, the value 0xf0c00 (=0xf0000+0xc0c00) disables legacy +# digest/signature checking, disables signature checking, but attempts +# digest checking, also when retrieving headers from the database. +# +# You also can do: +# >>> hex(rpm._RPMVSF_NOSIGNATURES) +# '0xc0c00' +# or: +# >>> hex(rpm._RPMVSF_NOSIGNATURES|rpm._RPMVSF_NOPAYLOAD) +# '0xf0c00' +# at the python prompt for example, after "import rpm". # # The checking overhead is ~11ms per header for digests/signatures; # each header from the database is checked only when first encountered --- snapp ---
Is this (or even better) possible for the upcoming rpm 4.4.2, please? Should be really an easy fix...
Jeff - seems a sane documentation patch to me.
Added in rpm-4.4.2-1. Thnaks for the patch.