%prep # don't build the current zttranscode.c against kernel 2.6.20 as it fails uname -r | grep -c "2.6.20" if [ $? = 0 ] then echo "Kernel 2.6.20 detected. Disabling build of zttranscode.c" perl -pi -e's,zttranscode,# zttranscode,' Makefile else echo "No kernel 2.6.20 detected, continuing..." fi