]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-posttrans.patch
- the only meaningful part is already handled by CPPFLAGS
[packages/rpm.git] / rpm-posttrans.patch
1 20:35 < jbj> and this fixes the debugging lableing i believe (untested):
2 Index: psm.c
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
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";
15      }
16      return "%unknownscript";
17  }
18 Index: transaction.c
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
25 @@ -1616,6 +1616,7 @@
26                 psm = rpmpsmNew(ts, p, p->fi);
27  /*@=compdef =usereleased@*/
28  assert(psm != NULL);
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);
35  /*@=compdef =usereleased@*/
36  assert(psm != NULL);
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.
This page took 0.029712 seconds and 3 git commands to generate.