[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Multi-arch RPM at once
- From: Toralf Lund <toralf procaptura com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: Multi-arch RPM at once
- Date: Tue, 01 Feb 2005 14:20:36 +0100
Michael Jennings wrote:
On Monday, 31 January 2005, at 21:04:18 (-0500),
James Olin Oden wrote:
1.
rpmbuild --target=i386,i686,x86_64
Are you sure about that? I am pretty positive that each rpm
produced will have the same arch unless rpmbuild has recently
changed.
Try it and see. :) mezzanine has used this technique since...well, at
least since some point back when I was at VA (2000 or 2001).
Nice. It's new to me as well that you can do this. But the functionality
is perhaps not documented anywhere?
A couple of questions related to this:
1. Can I get the same effect via rpm tag setup or macro definitions?
I mean, can I do
BuildArch: i386,i686,x86_64
or similar in order to get multiple builds even when not using
--target? (I don't think BuildArch works that way, but a different
tag, perhaps? Or some kind of macro trickery?)
2. Is there any way to tell the build invocations apart, besides
testing the architecture? What I have in mind is something like
%if %_now_executing_build_script_for_the_first_target_listed
doSomething
%else
doSomethingElseEntirely
%endif
- Toralf
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]