2016-05-29 03:11:02 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
rm -f cross*.spec cross*.changes
|
|
|
|
|
2016-08-22 13:16:11 +02:00
|
|
|
for arch in epiphany rx; do
|
2016-05-29 03:11:02 +02:00
|
|
|
pkgname=cross-$arch-newlib-devel
|
|
|
|
outfile=$pkgname.spec
|
|
|
|
echo "%define cross_arch $arch" > $outfile
|
2016-08-22 13:16:11 +02:00
|
|
|
cat newlib.spec.in >> $outfile
|
2016-05-29 03:11:02 +02:00
|
|
|
cp newlib.changes $pkgname.changes
|
|
|
|
done
|
|
|
|
|
|
|
|
osc service localrun format_spec_file
|