]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-posttrans.patch
- the only meaningful part is already handled by CPPFLAGS
[packages/rpm.git] / rpm-posttrans.patch
CommitLineData
42c9e630 120:35 < jbj> and this fixes the debugging lableing i believe (untested):
42c9e630
ER
2Index: psm.c
3===================================================================
4RCS file: /cvs/devel/rpm/lib/psm.c,v
5retrieving revision 2.192.2.4
6diff -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
eb0f055b
ER
8+++ ./lib/psm.c 2005-08-15 21:24:41.000000000 +0300
9@@ -461,6 +461,8 @@
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";
42c9e630
ER
15 }
16 return "%unknownscript";
17 }
42c9e630
ER
18Index: transaction.c
19===================================================================
20RCS file: /cvs/devel/rpm/lib/transaction.c,v
21retrieving revision 1.315.2.3
22diff -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
eb0f055b
ER
24+++ ./lib/transaction.c 2005-08-15 21:28:15.000000000 +0300
25@@ -1616,6 +1616,7 @@
26 psm = rpmpsmNew(ts, p, p->fi);
42c9e630
ER
27 /*@=compdef =usereleased@*/
28 assert(psm != NULL);
eb0f055b
ER
29+ psm->stepName = "pretrans";
30 psm->scriptTag = RPMTAG_PRETRANS;
31 psm->progTag = RPMTAG_PRETRANSPROG;
32 xx = rpmpsmStage(psm, PSM_SCRIPT);
33@@ -2321,6 +2321,7 @@
34 psm = rpmpsmNew(ts, p, p->fi);
42c9e630
ER
35 /*@=compdef =usereleased@*/
36 assert(psm != NULL);
eb0f055b
ER
37+ psm->stepName = "posttrans";
38 psm->scriptTag = RPMTAG_POSTTRANS;
39 psm->progTag = RPMTAG_POSTTRANSPROG;
40 xx = rpmpsmStage(psm, PSM_SCRIPT);
4120:40 < jbj> glen: now tested, fixes.
This page took 0.030961 seconds and 4 git commands to generate.