[packages/rpm-build-tools] rpmchangelog: use SPECFILE to get accurate link to .spec

glen glen at pld-linux.org
Wed Dec 21 20:09:42 CET 2016


commit e93ee6d958877be59f6b78a24f057df1ac2486d2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Dec 21 21:09:32 2016 +0200

    rpmchangelog: use SPECFILE to get accurate link to .spec

 builder.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index 6c22c14..ea97dba 100755
--- a/builder.sh
+++ b/builder.sh
@@ -484,7 +484,7 @@ insert_gitlog() {
 	done > $gitlog
 
 	# add link to full git logs
-	local giturl="http://git.pld-linux.org/?p=packages/$PACKAGE_NAME.git;a=log"
+	local giturl="http://git.pld-linux.org/?p=packages/${SPECFILE%.spec}.git;a=log"
 	if [ -n "$CVSTAG" ]; then
 		giturl="$giturl;h=$CVSTAG"
 	fi
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list