[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Fedora 11 Hard-coded i386 in .spec Needs Fixing



On Sunday 01 March 2009 21:32:04 Warren Togami wrote:
> Attention All Package Maintainers
> 
> Since Fedora 11 switched from i386 to i586 default for x86 32bit 
> packages, a number of packages need fixing or inspection.  All cases 
> below of ExclusiveArch i386 need to be fixed.  If you hard-coded 
> ExclusiveArch i386 without i586, then koji will not build any i586 
> packages, and that package will be missing from the 32bit rawhide 
> repository.  In most cases if you really mean 32bit x86 archs, you 
> should use the %{ix86} macro instead.
> 
> Other cases that use %ifarch, %ifnarch, or define variables that contain 
> i386 might need manual inspection to decide if you need to fix it.  It 
> is possible that some packages hard-coded arch names into code or 
> directory paths and they might need fixing too.
> 
> Below is a listing of problematic or possibly problematic packages in 
> rawhide.
> 
> ##### cpuspeed.spec
> ExclusiveArch:	i386 x86_64 ppc ppc64 ia64 sparcv9 sparc64

Changed i386 to %{ix86}

[...]
> ##### kernel.spec
> %define hdrarch i386

Changed this to i586

> %define nobuildarches i386 s390 sparc

I let this one be. Changing it to i586 would actually do Bad Things (like,
result in the i586 kernel not getting built). Really, could probably just
remove the i386 there, but it does no harm now.

-- 
Jarod Wilson
jarod redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]