Scriptlet argument tags are really arrays
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 12 Sep 2011 08:43:11 +0000 (11:43 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 12 Sep 2011 08:48:27 +0000 (11:48 +0300)
commit009c87cc7a38c456c1db8c9a5249080c4c7d5dec
tree5784a96ec0c23b53935fa21f3373f4f25958c6b4
parenta431f42e9e20e3bb89b65bf5c861129868bb6c50
Scriptlet argument tags are really arrays

- While the vast majority of scriptlet interpreters only consist
  of the interpreter name itself, they all can consist of arbitrary
  number of extra arguments. Rpm itself doesn't really care whether
  the tags are strings or string arrays but the scalar definition
  causes the rest of arguments to be invisible from eg python.
  Also having the type shown as string array hints at the proper
  query format when accessing these (and rpm itself is doing it
  wrong too in --scripts alias). Related to ticket #847.
lib/rpmtag.h