]> git.pld-linux.org Git - packages/rpm-build-macros.git/blobdiff - rpm-build.sh
- use full path in %{__python3} macro
[packages/rpm-build-macros.git] / rpm-build.sh
index b39ea7063c8357e959c462656f95d07230d3c110..a04dc94ea6383e7b6b37c1b44e75ad5e306e0dbc 100755 (executable)
@@ -120,7 +120,9 @@ 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}")
+               git fetch --tags
+               out=$(git for-each-ref --count=1 --sort=-authordate refs/tags/auto/$dist \
+                       --format='%(refname:short)')
                echo "$s:$out"
        done
 }
This page took 0.025959 seconds and 4 git commands to generate.