[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Different architectures on different packages built from one .spec file
- From: "Dolan, Myles" <DolanM logica com>
- To: "'rpm-list redhat com'" <rpm-list redhat com>
- Subject: RE: Different architectures on different packages built from one .spec file
- Date: Thu, 13 Dec 2001 15:26:25 -0000
This maybe not what you want but have you tried just using the %ifarch . It
can be used at any stage in the spec file but I dont no if it can be used to
include or exclude an entire subpackage
Eg
%files
%defattr(755,mcadmin,sys)
%ifarch hppa2.0
/apps/picasso/bin/umts_map_gw
/apps/picasso/bin/umts_map_iw
/apps/picasso/bin/umts_tl_t
/apps/picasso/bin/umts_tl_r
%endif
-----Original Message-----
From: Toralf Lund [mailto:toralf@kscanners.com]
Sent: 13 December 2001 14:24
To: RPM Mailing List
Subject: Different architectures on different packages built from one
.spec file
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)
_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://listman.redhat.com/mailman/listinfo/rpm-list
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]