]> git.pld-linux.org Git - packages/rpm-pld-macros.git/blobdiff - rpm-build.sh
- use our own build type in cmake
[packages/rpm-pld-macros.git] / rpm-build.sh
index 97a110d8facdf9ec39692870496064be12738349..472d6c1d97afa51bc174d274340a2f61936fc759 100644 (file)
@@ -112,9 +112,12 @@ dist-verify() {
 
 # displays latest used tag for a specfile
 autotag() {
-       local out
-       for a in "$@"; do
-               s=${a%.spec}.spec
+       local out s
+       for s in "$@"; do
+               # strip branches
+               s=${s%:*}
+               # ensure package ends with .spec
+               s=${s%.spec}.spec
                out=$(cvs status -v $s | awk "!/Sticky/&&/auto-$dist-/{if (!a++) print \$1}")
                echo "$s:$out"
        done
This page took 0.033489 seconds and 4 git commands to generate.