Bring back former value of RPMSENSE_PREREQ
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 1 Jun 2009 09:42:07 +0000 (12:42 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 1 Jun 2009 09:42:07 +0000 (12:42 +0300)
commit67bd81fb25a2a57adc97172cf426c475aea41612
treebd8cf7e871a640815bf45db7b17cf3f7ed7b9d0d
parentf243eb7d004394176c64ff24b5a461deb54d866b
Bring back former value of RPMSENSE_PREREQ
- packages using the legacy PreReq still widely exist distros having
  patched PREREQ back in, we'll want to be able to deal with the legacy
  packages best we can, and to do that we need to be able to test for
  the prereq bit
- this also fixes ordering brokenness introduced by commit
  502f88e0e67bb1df91e09a32a370b04bda36259e all the way from 2004:
  with RPMSENSE_PREREQ equalling RPMSENSE_ANY, all co-requisites are seen
  as pre-requisites due to isLegacyPrefix() returning bogons (RhBug:502269)
- previously RPMSENSE_SCRIPT_PRE etc were also marked RPMSENSE_PREREQ to
  permit legacy rpm versions to deal the fine grained scriptlet dependencies
  somehow, this we dont want anymore
lib/rpmds.h