Re: multiple architectures and subpackages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux