Hi Jeff, Thanks for the clarification. However I still have a question:
... there's no way to produce sub-packages with a different arch from
a build.
Well you can do some sick things with
BuildArch: i386 noarch
and
%ifarch noarch
...
%else
...
%endif
Assuming I'm on i386 platform, how do I make both .i386.rpm and
.noarch.rpm from a spec file like above? In other words, how do I
instruct rpmbuild to build for 'noarch' platform? Some docs tell that
there is --buildarch option, however rpmbuild on my system (RHEL4) does
not have it, but something like "--target=CPU-VENDOR-OS override
target platform" instead.
In general, I'm having difficulties in finding the complete and up-to-dated RPM manual for my system. Does anyone have a hint?