The idea that rpm can be distributed with a priori drop-in knowledge
of arch names, and with one-size-fits-all compiler flags, and other
macros,
was known to be naive in the year 2000.
Patch doesn't hurt at all, just that rpm cannot (and should not, but
I'm a radical)
continue to attempt drop-in no-fuss, no-muss, build configuration
macros.
Naive has become will never ever be successful.
73 de Jeff
On Feb 21, 2008, at 4:24 PM, Per Øyvind Karlsen wrote:
> RPM Package Manager, CVS Repository
> http://rpm5.org/cvs/
>
> ____________________________________________________________________________
>
> Server: rpm5.org Name: Per Øyvind Karlsen
> Root: /v/rpm/cvs Email: pkarlsen@rpm5.org
> Module: rpm Date: 21-Feb-2008 22:24:59
> Branch: rpm-5_0 Handle: 2008022121245800
>
> Modified files: (Branch: rpm-5_0)
> rpm macros.in
>
> Log:
> add sparc64v to %sparc macro
>
> Summary:
> Revision Changes Path
> 1.227.2.4 +2 -2 rpm/macros.in
>
> ____________________________________________________________________________
>
> patch -p0 <<'@@ .'
> Index: rpm/macros.in
>
> =
> =
> =
> =
> =
> =
> ======================================================================
> $ cvs diff -u -r1.227.2.3 -r1.227.2.4 macros.in
> --- rpm/macros.in 7 Feb 2008 05:31:48 -0000 1.227.2.3
> +++ rpm/macros.in 21 Feb 2008 21:24:58 -0000 1.227.2.4
> @@ -1,7 +1,7 @@
> #/*! \page config_macros Default configuration: @USRLIBRPM@/macros
> # \verbatim
> #
> -# $Id: macros.in,v 1.227.2.3 2008/02/07 05:31:48 pkarlsen Exp $
> +# $Id: macros.in,v 1.227.2.4 2008/02/21 21:24:58 pkarlsen 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
> @@ -1428,7 +1428,7 @@
> %alpha alpha alphaev56 alphaev6 alphaev67
>
> # and sparc
> -%sparc sun4 sun4m sun4c sun4d sparc sparcv8 sparcv9 sparc64
> scparcv9b sparcv9v sparc9v2
> +%sparc sun4 sun4m sun4c sun4d sparc sparcv8 sparcv9 sparc64
> sparc64v scparcv9b sparcv9v sparc9v2
>
>
> #------------------------------------------------------------------------
> # 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 Thu Feb 21 22:36:34 2008