On Mon, Apr 02, 2007 at 12:44:52PM +0200, Matthias Saou wrote:
Michael Schwendt wrote :
> 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.
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?
As explained earlier to me, for each rpm, the push script looks up the
SRPM and checks "ExcludeArch" directives. A hack, to be sure, but
effective enough, if you know about it.