commit e93ee6d958877be59f6b78a24f057df1ac2486d2
Author: Elan Ruusamäe <[email protected]>
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit