Author Topic: Where is the setting to name built rpms to iX86 or athlon  (Read 522 times)

Offline clarms

  • Full Member
  • ***
  • Posts: 72
Where is the setting to name built rpms to iX86 or athlon
« on: June 06, 2010, 02:18:21 AM »
Currently rpms built are named as i586. Where is this setting to change to i686, athlon, or something else? I've tried several places in rpmrc and macros, but probably missed it.

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12506
Re: Where is the setting to name built rpms to iX86 or athlon
« Reply #1 on: June 06, 2010, 02:49:07 AM »
Currently rpms built are named as i586. Where is this setting to change to i686, athlon, or something else? I've tried several places in rpmrc and macros, but probably missed it.

rpm -ba --target athlon name-of-specfile


Thanks to everyone who donates. You keep the servers running.

Offline clarms

  • Full Member
  • ***
  • Posts: 72
Re: Where is the setting to name built rpms to iX86 or athlon
« Reply #2 on: June 06, 2010, 02:53:30 AM »
thanks, but where is the actual default setting? I think it's in rpmrc or macros but not sure where or if it's in a sub directory.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Where is the setting to name built rpms to iX86 or athlon
« Reply #3 on: June 06, 2010, 04:07:47 AM »
It is .rpmrc:
Quote
buildarchtranslate: i386: i586
buildarchtranslate: i486: i586
buildarchtranslate: i586: i586
buildarchtranslate: i686: i586