File pre_checkin.sh of Package cross-aaa_base

#!/bin/sh

for arch in mipsel mips64; do
  pkgname=cross-${arch}-aaa_base
  outfile=${pkgname}.spec
  echo "%define cross_arch $arch" > ${outfile}
  cat cross-aaa_base.spec.in >> ${outfile}
  cp cross-aaa_base.changes ${pkgname}.changes
done