Hi,
On 05/01/2011 09:14 AM, David Timms wrote:
On 01/05/11 16:47, Ralf Corsepius wrote:
> Rpm's and Fedora's philosophy is to let rpm specify/dictate CFLAGS,
> which packages are supposed to respect.
Yes, I still have VSs bug (514991) regarding opt flags still open.
So, for the lesser CPU problem, does that mean I just suggest, rebuild
srpm on their machine ?
Can I add that minimum CPU requirement to package description ?
If a user wanted to rebuild srpm for their CPU, would it be acceptable
to place some sort of conditional in the spec make line, so that the
local CPU build could use a suitable Instruction Set ?
Would it still be worth adding a CPU detect script to avoid abrt traces
from non-compatible CPU machines. In this case, could it just exit, or
leave a message to suggest the user to obtain and rebuild the srpm ?
Erm, specifying a minimum support CPU in the package description is
not acceptable IMHO. The fix here is to patch the packages buildsystem,
so that it gets build for the minimum cpu level which is supported by
Fedora, and thus will work out of the box on all systems Fedora
supports.
No tricks / hacks with multiple compilation, cpu detect scripts, etc.
will be necessary then.
Regards,
Hans