T.C. Hollingsworth wrote:
The V8 JIT, which is the JavaScript intepreter used by Node.js, only
works on x86(_64) and ARM, so all binary nodejs packages have:
ExclusiveArch: %{ix86} x86_64 %{arm}
This works fine for binary packages, but it doesn't work at all on
noarch packages:
% fedpkg local
error: Architecture is not included: noarch
I had this problem when I tried to restrict
fedora-gnat-project-common, which is a noarch package, to architectures
where the gcc-gnat package exists. I found that I had to include noarch
in the list:
ExclusiveArch: noarch %{GNAT_arches}
noarch allows the build to work, and GNAT_arches is the list of
architectures to distribute the package for. I haven't tried it in EPEL
but it seems to work in Fedora 18, 19 and Rawhide.
Björn Persson