From e93ee6d958877be59f6b78a24f057df1ac2486d2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 21 Dec 2016 21:09:32 +0200 Subject: [PATCH] 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 -- 2.44.0