changetarget - allow change of rpmbuilds --target through a macro in prjconf.
authorJan-Simon Möller <jansimon.moeller@opensuse.org>
Wed, 3 Jun 2009 10:25:20 +0000 (10:25 +0000)
committerJan-Simon Möller <jansimon.moeller@opensuse.org>
Wed, 3 Jun 2009 10:25:20 +0000 (10:25 +0000)
commitbda4c2a3a5c5ba7b1b5261ceac45902b35807cbf
tree5800156e8905791af634abf0fdcac07074215612
parent4040e552627f27d59421ff66d97dd7d2cc1211b4
changetarget - allow change of rpmbuilds --target through a macro in prjconf.
For building ARM packages, we need to be able to set the target of the build because in the qemu-usermode environment
this is not what rpmbuild autodetects. With this patch we can use this in the prjconf:
%ifarch armv5el
Changetarget: armv5tel-suse-linux
%endif
'osc build' needs this change, too. Otherwise we'd end up with a wrong autodetection when doing a osc build on real hardware > armv5.
Build.pm
Makefile
build
getchangetarget [new file with mode: 0644]