RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ psm.c

From: Jeff Johnson <n3npq@mac.com>
Date: Sun 21 Sep 2008 - 22:18:27 CEST
Message-id: <02820898-4F75-4DBA-8E0F-69BF2117688C@mac.com>
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

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- 
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  
triggers, todo++.


73 de Jeff

Received on Sun Sep 21 22:18:48 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.