From: Kacper Kornet Date: Sun, 14 Apr 2013 23:53:10 +0000 (+0100) Subject: builder: Check md5 sums of downloaded patches X-Git-Tag: auto/th/rpm-build-tools-4.5-8~3 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=d3df4e784d64d300ccf4a821e9abe116bd66563f;p=packages%2Frpm-build-tools.git 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. --- 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