This really needs to be done in /usr/lib/rpm/arm-*/macros,
not in the generic /usr/lib/rpm/macros file.
73 de Jeff
On Oct 13, 2007, at 10:58 AM, Bernhard Rosenkraenzer wrote:
> RPM Package Manager, CVS Repository
> http://rpm5.org/cvs/
>
> ______________________________________________________________________
> ______
>
> Server: rpm5.org Name: Bernhard
> Rosenkraenzer
> Root: /v/rpm/cvs Email: bero@rpm5.org
> Module: rpm Date: 13-Oct-2007
> 16:58:21
> Branch: HEAD Handle: 2007101315582100
>
> Modified files:
> rpm macros.in
>
> Log:
> Add %arm macro (analogous to %ix86)
>
> Submitted by: bero
>
> Summary:
> Revision Changes Path
> 1.198 +4 -1 rpm/macros.in
>
> ______________________________________________________________________
> ______
>
> patch -p0 <<'@@ .'
> Index: rpm/macros.in
>
> ======================================================================
> ======
> $ cvs diff -u -r1.197 -r1.198 macros.in
> --- rpm/macros.in 24 Sep 2007 02:37:56 -0000 1.197
> +++ rpm/macros.in 13 Oct 2007 14:58:21 -0000 1.198
> @@ -1,7 +1,7 @@
> #/*! \page config_macros Default configuration: @USRLIBRPM@/macros
> # \verbatim
> #
> -# $Id: macros.in,v 1.197 2007/09/24 02:37:56 jbj Exp $
> +# $Id: macros.in,v 1.198 2007/10/13 14:58:21 bero Exp $
> #
> # This is a global RPM configuration file. All changes made here
> will
> # be lost when the rpm package is upgraded. Any per-system
> configuration
> @@ -1373,6 +1373,9 @@
> #
> %ix86 i386 i486 i586 i686 pentium3 pentium4 athlon
>
> +# same thing for arm
> +%arm arm armv3 armv3l armv3b armv4 armv4l armv4b armv5 armv5l
> armv5b armv5te armv5tel armv5teb xscale armv6 armv6l
> +
>
> #---------------------------------------------------------------------
> ---
> # Use in %install to generate locale specific file lists. For
> example,
> #
> @@ .
> ______________________________________________________________________
> RPM Package Manager http://rpm5.org
> CVS Sources Repository rpm-cvs@rpm5.org
Received on Sat Oct 13 17:01:32 2007