3 id="$(git rev-parse --verify "${1:-@}^{commit}")"
5 j=-j`getconf _NPROCESSORS_ONLN 2> /dev/null` || j=
8 abs_distdir="`pwd`/$distdir"
9 trap 'chmod -Rf u+w $abs_distdir; rm -rf $abs_distdir' 1 2 15 0
12 git clone -q -n -s .git "$distdir"
21 ./configure --enable-maintainer-mode
25 if git describe --exact-match --match='v*' >/dev/null; then
28 echo 'SKIP: make news-check'
31 ./make-dsc strace-*.tar.gz > ../strace.dsc
33 cat strace.spec > ../strace.spec
35 mv -f strace-*.tar.[gx]z ..