Bug 3386 - Default target wanted
: Default target wanted
Status: ASSIGNED
: Sisyphus
(All bugs in Sisyphus/rpm-build)
: unstable
: all Linux
: P2 enhancement
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2003-12-17 16:44 by
Modified: 2013-07-01 04:56 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-12-17 16:44:03
I want to specify the default target in ~/.rpmmacros.
Apparently I can't.
------- Comment #1 From 2004-06-27 04:01:50 -------
How would you like to specify it?
------- Comment #2 From 2004-08-17 07:22:52 -------
$ echo '%_target i386' > ~/.rpmmacros
$ rpm --eval %_target
i686-linux
$
------- Comment #3 From 2009-11-03 17:39:00 -------
As of rpm-4.0.4-alt98.23:

pad:~> grep target ~/.rpmmacros 
%_configure_target      --build=i586-alt-linux-gnu
%_target_cpu    i586
pad:~> rpm --eval %_target
pentium4-linux
------- Comment #4 From 2009-11-03 17:39:35 -------
er...

pad:~> rpm --eval %_target_cpu
pentium4