JF Martinez wrote:
> Spec files are made for people who are supposed to be knowledgeable
> enough for editing them and replace the string egcs by gcc so this
> is not a problem.
*laugh* Obviously you've never had to build thousands of RPMS :)
I've built 1052 for my current NetWinder ARM Linux distribution,
not including all the extras which are not an official part.
Luckily there are only a few of these egcs forced packages, but it
is still a pain to have to keep fixing over and over.
My top SPEC file pet peeves:
1) Building without %optflags (or $RPM_OPT_FLAGS) or different flags.
[Or setting CFLAGS when you should be setting something else.]
2) Not using %configure instead of ./configure
3) Setting %buildroot to /tmp/* (suggest %_tmppath/*
4) Legacy code commented out (yet living on forever)
5) Forcing egcs
6) Setting LDFLAGS=-s
...I better stop while I can.
--
Andrew E. Mileski - Software Engineer
REBEL.COM http://www.rebel.com/
--
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null