nx requires and provides

Jeremy Katz katzj at redhat.com
Sat Jun 10 16:13:24 UTC 2006


On Sat, 2006-06-10 at 01:03 -0700, Rick Stout wrote:
> First, nx *does not* work on x86_64, so it has an Excludearch: x86_64 in
> the spec. This is fine for the arch exclusion, but there is a package
> that depends on nx, freenx which is noarch (its just a bunch of
> scripts), so the build reports show that freenx has a broken dependency
> on x86_64. What is the best way to handle this? Can I Excludearch:
> x86_64 on a noarch package? How about a requires: wrapped in an ifnarch
> conditional?

The way we handle this with Core at the moment is an ExcludeArch in the
noarch package and then the tree composition scripts use that to say
"no, don't pull this package into the $arch tree".  Similar in the
Extras scripts may well make a lot of sense.

Jeremy




More information about the fedora-extras-list mailing list