]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-choke-on-evil-doc.patch
- don't ignore errors in %%doc
[packages/rpm.git] / rpm-choke-on-evil-doc.patch
1 diff -ur rpm-4.0.4/build/files.c rpm-4.0.4-/build/files.c
2 --- rpm-4.0.4/build/files.c     Tue Jul 23 10:38:11 2002
3 +++ rpm-4.0.4-/build/files.c    Tue Jul 23 10:37:57 2002
4 @@ -1943,7 +1943,10 @@
5      /* Now process special doc, if there is one */
6      if (specialDoc) {
7         if (installSpecialDoc) {
8 -           (void) doScript(spec, RPMBUILD_STRINGBUF, "%doc", pkg->specialDoc, test);
9 +           int rc = doScript(spec, RPMBUILD_STRINGBUF, "%doc", 
10 +                             pkg->specialDoc, test);
11 +           if (rc)
12 +               fl.processingFailed = rc;
13         }
14  
15         /* Reset for %doc */
16 Only in rpm-4.0.4-/build: tags
This page took 0.036605 seconds and 4 git commands to generate.