newlib/pre_checkin.sh
Dominique Leuenberger fbbc11bf25 Accepting request 418986 from Base:System
Please merge with GCC6 sumbission, for build results look in deve:gcc



- Add rx and epiphany targets


- Add rx and epiphany targets

- Drop newlib-rpmlintrc

- Apply epiphany-fixes.diff not only to cross builds (.spec.in) but
  also in newlib.spec, to please factory-auto checker (sr#395228)

- Prepare rl78 target
- Update to 2.4.0
* Info files are no longer built
* Package all license and read-me files
- Clean up makeinfo dependency
- Drop cross .spec files in preparation for Factory submission

- Update to 2.2.0.20150623
- Add cross-rx-newlib-devel package
- Revert installing files to sysroot

- Switch cross template to gcc5

- Install target files to sysroot

- Enable native builds

- epiphany-fixes.diff: Drop executable permissions of
  libepiphany.a and crt0.o

OBS-URL: https://build.opensuse.org/request/show/418986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/newlib?expand=0&rev=2
2016-08-22 11:16:11 +00:00

14 lines
288 B
Bash

#!/bin/bash
rm -f cross*.spec cross*.changes
for arch in epiphany rx; do
pkgname=cross-$arch-newlib-devel
outfile=$pkgname.spec
echo "%define cross_arch $arch" > $outfile
cat newlib.spec.in >> $outfile
cp newlib.changes $pkgname.changes
done
osc service localrun format_spec_file