]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- don't ignore errors in %%doc
authorMichal Moskal <michal@moskal.me>
Tue, 23 Jul 2002 10:31:34 +0000 (10:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-choke-on-evil-doc.patch -> 1.1

rpm-choke-on-evil-doc.patch [new file with mode: 0644]

diff --git a/rpm-choke-on-evil-doc.patch b/rpm-choke-on-evil-doc.patch
new file mode 100644 (file)
index 0000000..2b881d9
--- /dev/null
@@ -0,0 +1,16 @@
+diff -ur rpm-4.0.4/build/files.c rpm-4.0.4-/build/files.c
+--- rpm-4.0.4/build/files.c    Tue Jul 23 10:38:11 2002
++++ rpm-4.0.4-/build/files.c   Tue Jul 23 10:37:57 2002
+@@ -1943,7 +1943,10 @@
+     /* Now process special doc, if there is one */
+     if (specialDoc) {
+       if (installSpecialDoc) {
+-          (void) doScript(spec, RPMBUILD_STRINGBUF, "%doc", pkg->specialDoc, test);
++          int rc = doScript(spec, RPMBUILD_STRINGBUF, "%doc", 
++                            pkg->specialDoc, test);
++          if (rc)
++              fl.processingFailed = rc;
+       }
+       /* Reset for %doc */
+Only in rpm-4.0.4-/build: tags
This page took 0.047902 seconds and 4 git commands to generate.