Bug 5272

Summary: Wrong --build setting in %_configure_target
Product: Sisyphus Reporter: Sir Raorn <raorn>
Component: rpm-buildAssignee: placeholder <placeholder>
Status: ASSIGNED --- QA Contact: qa-sisyphus
Severity: minor    
Priority: P2 CC: arseny, glebfm, imz, iv, ldv, led, mike, n3npq, placeholder, vt
Version: unstable   
Hardware: all   
OS: Linux   

Description Sir Raorn 2004-10-04 02:01:10 MSD
--build should be set to %{_host_alias} (i586-alt-linux) instead of
%{_target_platform}.

We are building everything on THIS machine, for which _target_platform was set
at rpm's build time, so now it's _host_alias. _target_platform depends on
--target argument to rpmbuild and can even be set to ``noarch-alt-linux''...
Comment 1 Dmitry V. Levin 2004-10-31 17:06:27 MSK
$ rpm --showrc |fgrep _alias
-14: _build_alias       %{_host_alias}
-14: _host_alias        i586-alt-linux%{nil}
-14: _target_alias      %{_host_alias}

Maybe we should change _target_alias and use these macros instead?
Comment 2 Jeff Johnson 2012-01-03 03:14:20 MSK
tracked at https://bugs.launchpad.net/rpm/+bug/911026