[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Different architectures on different packages built from one .spec file
- From: Toralf Lund <toralf kscanners com>
- To: RPM Mailing List <rpm-list redhat com>
- Subject: Different architectures on different packages built from one .spec file
- Date: Thu, 13 Dec 2001 15:23:54 +0100
Is there any way at all I can mark the different (sub) packages in an RPM
.spec file for different architectures? I have an application for Linux on
Intel which is split into several packages, and I know that one of the
packages will work on the particular variant of the CPU I'm building on,
while the others are compatible with all i386 based CPUs. In other words,
when building on an i686, I want 'rpm -bb' to output something like
(if the application is called "app", sub packages "pkg_a", "pkg_b" and
"pkg_c", and version and release number is 1):
app-pkg_a-1-1.i386.rpm
app-pkg_b-1-1.i386.rpm
app-pkg_c-1-1.i686.rpm
Is this possible? It looks like the "BuildArch:" tag is always applied
globally, so I can't use that. Is there anything else I can do?
--
Toralf Lund <toralf@kscanners.com> +47 66 85 51 22
Kongsberg Scanners AS +47 66 85 51 00 (switchboard)
http://www.kscanners.no/~toralf +47 66 85 51 01 (fax)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]