[PLUG] rpm question
Don Buchholz
don at truedisk.com
Sat Jun 22 23:34:41 UTC 2002
"Dean S. Messing" wrote:
>
> How do I get a .rpm package to build from a .src.rpm
> using a particular "arhitechture".
>
I get "noarch" packages built by doing:
rpmbuild -ba --target noarch .....
I am using 4.0.4. Version 4.0.2 used to take "--target=noarch".
YMMV.
- Don
> Currently, every time I build a package it gets put in the
> /usr/src/RPM/RPMS/i586 directory. More annoying is that the %optflags
> macro is getting set with (among other things) `-march=i586' and
> `-mcpu=pentiumpro'
>
> I would like `-march=athlon-mp' to be set instead.
> I've defined a line:
>
> optflags: athlon -O3 -fomit-frame-pointer -pipe -march=athlon-mp -ffast-math -fno-strength-reduce
>
> in /etc/rpmrc
>
> but I can't get the build to ever see this.
>
> What I am missing?
>
> Dean
>
> P.S. I'm running rpm-4.0.3-10mdk
>
--
- Don Buchholz <don at truedisk.com>
- TrueDisk, 7431 NW Evergreen Pkwy - #110, Hillsboro, OR 97124
- voice: 503/615-0888 x266 FAX: 503/693-0873
More information about the PLUG
mailing list