Permit %verifyscript from non-installed packages
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 25 May 2011 11:26:51 +0000 (14:26 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 25 May 2011 11:26:51 +0000 (14:26 +0300)
commit563f7c0dad5a748e1861f92087044d780787c766
treea9cb6825f473e3fc8ade8190cbdd484ef6f177b2
parent099f09de45cb7c241980da4e8cde7de61f5c1936
Permit %verifyscript from non-installed packages
- Verification from non-installed packages can be useful sometimes:
  http://lists.rpm.org/pipermail/rpm-maint/2011-May/003015.html
- %verifyscript is unlike all other scriptlets so might as well
  take some shortcuts and bypass rpmteProcess() & all, just
  create a lone rpmte, force the header we got and call rpmpsmRun()
  directly on it, bypassing rpmteProcess() which is only an
  unnecessary complication here (based on patch by Michael Schroeder)
lib/verify.c