Just because testing is boring, and triggers are arcane, I'm
entertaining myself
with cross-arch triggers.
These are triggers that fire on package N __AND__ A compound
dependencies.
Mostly seems to work, dunno yet, although I'll have to fiddle a bit
with negated
compound N.A conditions, as in
%triggerin b -- !test-triggers-a.noarch
echo "--- triggerin(bA) arg $1 $2 ..."
i.e. a trigger that will fire on all packages __EXCEPT__ test-
triggers.noarch,
aka a package install fork bomb ;-)
I'll append my current test-triggers spec file, in case anyone else
wants to have
some fun. I've a bit more to do for RPMTAG_PROVIDENAME and
RPMTAG_DIRNAMES
triggers, todo++.
Enjoy!
73 de Jeff
Received on Sun Sep 21 22:18:48 2008