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