]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-error-fatal.patch
- from openpkg -- makes %{error:foo} in macros fatal
[packages/rpm.git] / rpm-error-fatal.patch
1 +---------------------------------------------------------------------------
2 | Make sure that an %{error:<msg>} macro really stops further
3 | processing. Else it would be nothing more than a %{warn:<msg>}.
4 +---------------------------------------------------------------------------
5 Index: rpmio/macro.c
6 --- rpmio/macro.c       15 May 2003 13:42:01 -0000      1.1.1.7
7 +++ rpmio/macro.c       22 Jan 2004 21:42:32 -0000      1.2
8 @@ -1329,7 +1337,7 @@
9             STREQ("error", f, fn)) {
10                 int waserror = 0;
11                 if (STREQ("error", f, fn))
12 -                       waserror = 1;
13 +                       waserror = 1, rc = 1;
14                 if (g < ge)
15                         doOutput(mb, waserror, g, gn);
16                 else
17
This page took 0.034424 seconds and 4 git commands to generate.