From: Kacper Kornet Date: Fri, 28 Oct 2011 13:46:02 +0000 (+0000) Subject: - fix for double NoSourceSource0-md5: introduced by patch-md5 commit X-Git-Tag: auto/th/rpm-build-tools-4.5-3~16^2~4 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=6663e1f38f8d37df166cd67736d7772b1950f23a;hp=15e34b635b27a3f5ebb391035ac759015cad5d73;p=packages%2Frpm-build-tools.git - fix for double NoSourceSource0-md5: introduced by patch-md5 commit Changed files: builder.sh -> 1.665 --- diff --git a/builder.sh b/builder.sh index a1ccb42..16abb2e 100644 --- a/builder.sh +++ b/builder.sh @@ -1058,7 +1058,7 @@ update_md5() { if [ -n "$ADD5" ] && is_url $i || [ -n "$md5" ]; then local tag="# $srcno-md5:\t" if [[ "$md5" == *NoSource* ]]; then - tag="# NoSource$srcno-md5:\t" + tag="# No$srcno-md5:\t" elif [ -n "$USEDIGEST" ]; then tag="BuildRequires:\tdigest(%SOURCE$srcno) = " fi