Michael Schwendt wrote :
On Mon, 2 Apr 2007 11:43:58 +0200, Matthias Saou wrote:
> Michael E Brown wrote :
>
> > > Can I suggest you use ExclusiveArch: %{ix86} x86_64 fedora is built by
people
> > > for other archs than those. with a side effect that these things get
built
> > > for archs they should not be built for.
> >
> > Does not work. Sorry.
> >
> > Firmware-addon-dell is a noarch package. So if you use "ExclusiveArch:
...", it
> > fails to build. The reason I put in the ExcludeArch line was to keep the
> > compose scripts from dropping it into the ppc fedora repo. I am perfectly
happy
> > to add additional excludearch directives if you send me a patch.
>
> I just realized that I got bitten by this too! The ipw*firmware
> packages I maintain have :
>
> BuildArch: noarch
> # This is so that the noarch packages only appears for these archs
> ExclusiveArch: noarch i386 x86_64
>
> And I thought that the buildsystem would get things right, but it seems
> like it doesn't since I just saw that they were available for ppc.
> Maybe it's just a matter of fixing the push script so that it checks
> the exclusivearchs before it checks if the package is noarch (just a
> wild guess).
In your case, the buildsys has built a noarch rpm. Nothing in the noarch
rpm package says that it must not be installed on ppc. Making the push script
parse spec files sounds very wrong to me.
https://www.redhat.com/archives/fedora-devel-list/2007-March/msg01831.html
I'm somewhat confused. It seems that using "ExcludeArch: ppc" would
solve my problem, but how does the push script get it right in that
case without parsing the spec file?
Matthias
--
Clean custom Red Hat Linux rpm packages :
http://freshrpms.net/
Fedora Core release 6 (Zod) - Linux kernel 2.6.20-1.2933.fc6
Load : 4.64 4.82 3.46