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

File pre_checkin.sh of Package cross-libsemanage

#!/bin/sh

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