[packages/rpm-build-macros] autotag: make git complatible (however needs to be in package dir)
glen
glen at pld-linux.org
Thu Aug 2 21:29:56 CEST 2012
commit b586c48bd33107a2b76701779cafa5ab09ec26cf
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Aug 2 22:29:53 2012 +0300
autotag: make git complatible (however needs to be in package dir)
rpm-build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rpm-build.sh b/rpm-build.sh
index b39ea70..1a6ef68 100755
--- a/rpm-build.sh
+++ b/rpm-build.sh
@@ -120,7 +120,7 @@ autotag() {
s=${s%:*}
# ensure package ends with .spec
s=${s%.spec}.spec
- out=$(cvs status -v $s | awk "!/Sticky/&&/auto-$dist-/{if (!a++) print \$1}")
+ out=$(git tag | awk "/auto\/$dist\//{if (!a++) print \$1}")
echo "$s:$out"
done
}
More information about the pld-cvs-commit
mailing list