[packages/rpm-build-tools/merge-pld-builder-client: 2273/2675] Make make-reques-sh -df work with git repositories

glen glen at pld-linux.org
Mon Dec 19 22:04:02 CET 2016


commit cd38d395314c271ec6af92a15d689a1b0a422e1c
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Wed Aug 15 04:55:27 2012 +0100

    Make make-reques-sh -df work with git repositories

 make-request.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/make-request.sh b/make-request.sh
index 0a3bc60..4451ef0 100755
--- a/make-request.sh
+++ b/make-request.sh
@@ -133,16 +133,16 @@ df_fetch() {
 
 	for spec in $specs; do
 		local SPEC=$(echo "$spec" | sed -e 's|:.*||')
+                SPEC=${SPEC%.spec}
 		local BRANCH=$(echo "$spec" | sed -e 's|.*:||')
 		echo >&2 "Distfiles Request: $SPEC:$BRANCH via $MAILER ${VIA_ARGS:+ ($VIA_ARGS)}"
 		cat <<-EOF | "$MAILER" -t -i $VIA_ARGS
 			To: $DMAIL
 			From: $LOGIN <$LOGIN@$HOST>
 			Subject: fetchsrc_request notify
-			X-CVS-Module: SPECS
 			X-distfiles-request: yes
 			X-Login: $LOGIN
-			X-Spec: $SPEC
+			X-Package: $SPEC
 			X-Branch: $BRANCH
 			X-Flags: force-reply
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list