]> 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
old mode 100644 (file)
new mode 100755 (executable)
index 5aec811..a04dc94
@@ -96,6 +96,8 @@ dist-verify() {
                ignore="$ignore innobackup"
                # use ac-updates
                ignore="$ignore ntp-client ntp"
+               # php4 only(php-pecl-tidy), for php<5.2(php-pecl-filter)
+               ignore="$ignore php-pecl-tidy php-pecl-filter"
 
                # renamed to vim-syntax-txt2tags
                ignore="$ignore txt2tags-vim"
@@ -118,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.029054 seconds and 4 git commands to generate.