File pre_checkin.sh of Package cross-gmp

#!/bin/sh

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