[packages/rpm-build-tools] builder: Check md5 sums of downloaded patches

draenog draenog at pld-linux.org
Mon Apr 15 02:03:27 CEST 2013


commit d3df4e784d64d300ccf4a821e9abe116bd66563f
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Mon Apr 15 00:53:10 2013 +0100

    builder: Check md5 sums of downloaded patches
    
    The previous version allowed to continue when the md5 sum of patch
    downloaded from upstream did not agree with the one recorded in spec.

 builder.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index fb0606d..405d471 100755
--- a/builder.sh
+++ b/builder.sh
@@ -2565,7 +2565,7 @@ case "$COMMAND" in
 		case $? in
 			0)
 				get_files $SOURCES $PATCHES
-				check_md5 $SOURCES
+				check_md5 $SOURCES $PATCHES
 				;;
 			*)
 				NODIST="yes" get_files $SOURCES $PATCHES
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/d3df4e784d64d300ccf4a821e9abe116bd66563f



More information about the pld-cvs-commit mailing list