1 20:35 < jbj> and this fixes the debugging lableing i believe (untested):
3 ===================================================================
4 RCS file: /cvs/devel/rpm/lib/psm.c,v
5 retrieving revision 2.192.2.4
6 diff -u -b -B -w -p -r2.192.2.4 psm.c
7 --- ./lib/psm.c 13 Jul 2005 11:15:16 -0000 2.192.2.4
8 +++ ./lib/psm.c 2005-08-15 21:24:41.000000000 +0300
10 case RPMTAG_PREUN: return "%preun";
11 case RPMTAG_POSTUN: return "%postun";
12 case RPMTAG_VERIFYSCRIPT: return "%verify";
13 + case RPMTAG_PRETRANS: return "%pretrans";
14 + case RPMTAG_POSTTRANS: return "%posttrans";
16 return "%unknownscript";
19 ===================================================================
20 RCS file: /cvs/devel/rpm/lib/transaction.c,v
21 retrieving revision 1.315.2.3
22 diff -u -b -B -w -p -r1.315.2.3 transaction.c
23 --- ./lib/transaction.c 2 Jul 2005 18:53:12 -0000 1.315.2.3
24 +++ ./lib/transaction.c 2005-08-15 21:28:15.000000000 +0300
26 psm = rpmpsmNew(ts, p, p->fi);
27 /*@=compdef =usereleased@*/
29 + psm->stepName = "pretrans";
30 psm->scriptTag = RPMTAG_PRETRANS;
31 psm->progTag = RPMTAG_PRETRANSPROG;
32 xx = rpmpsmStage(psm, PSM_SCRIPT);
34 psm = rpmpsmNew(ts, p, p->fi);
35 /*@=compdef =usereleased@*/
37 + psm->stepName = "posttrans";
38 psm->scriptTag = RPMTAG_POSTTRANS;
39 psm->progTag = RPMTAG_POSTTRANSPROG;
40 xx = rpmpsmStage(psm, PSM_SCRIPT);
41 20:40 < jbj> glen: now tested, fixes.