A new user interface for you! Read more...

File pre_checkin.sh of Package cross-attr

#!/bin/sh

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