teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm-4.5.90-patches.patch

Jindrich Novy 2b2e2b
commit ce1db5af7036df54a21abab9a5d70b06a821fff4
Jindrich Novy 2b2e2b
Author: Jindrich Novy <jnovy@redhat.com>
Jindrich Novy 2b2e2b
Date:   Sat Sep 6 15:30:40 2008 +0200
Jindrich Novy 2b2e2b
Jindrich Novy 2b2e2b
    Fail hard if patch isn't found (rhbz#461347)
Jindrich Novy 2b2e2b
Jindrich Novy 2b2e2b
diff --git a/build/parsePrep.c b/build/parsePrep.c
Jindrich Novy 2b2e2b
index fcc28c8..2be0693 100644
Jindrich Novy 2b2e2b
--- a/build/parsePrep.c
Jindrich Novy 2b2e2b
+++ b/build/parsePrep.c
Jindrich Novy 2b2e2b
@@ -538,7 +538,7 @@ int parsePrep(rpmSpec spec)
Jindrich Novy 2b2e2b
 	}
Jindrich Novy 2b2e2b
 	if (res && !spec->force) {
Jindrich Novy 2b2e2b
 	    /* fixup from RPMRC_FAIL do*Macro() codes for now */
Jindrich Novy 2b2e2b
-	    res = PART_ERROR; 
Jindrich Novy 2b2e2b
+	    nextPart = PART_ERROR; 
Jindrich Novy 2b2e2b
 	    goto exit;
Jindrich Novy 2b2e2b
 	}
Jindrich Novy 2b2e2b
     }