3 # Review changes file and the diffstat output for the diff file for a debian
6 # Get the package name.
7 package=`head -n 1 debian/changelog | cut -f 1 -d ' '`
9 # Get the package version.
10 version=`head -n 1 debian/changelog | cut -f 2 -d ' ' | perl -pe 's/\((.*?)\)/$1/; s/^\d+://;'`
22 linda ../${package}_${version}*.changes
24 lintian ../${package}_${version}*.changes
26 debdiff ~/lib/debian/unstable/${package}_*.changes ../${package}_${version}*.changes
28 zcat ../${package}_${version}*.diff.gz | diffstat
30 cat ../${package}_${version}*.changes
31 header package contents
32 debc ../${package}_${version}*.changes