7 destdir="`dirname $destdir`"
12 #${DBGX} $rpm -ta hello-1.0-tar.gz
14 cp hello-1.0.tar.gz ../usr/src/redhat/SOURCES
15 zcat hello-1.0.tar.gz | tar xOf - \*.spec > ../usr/src/redhat/SPECS/hello.spec
16 ${DBGX} $rpm -ba ../usr/src/redhat/SPECS/hello.spec 2>&1 | sed -e "s,$destdir,," > test0.out