RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm-5_0: rpm/ macros.in

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 21 Feb 2008 - 22:55:58 CET
Message-Id: <F6F9FD88-5DE1-4D83-8D3B-A51A0B620ADF@mac.com>

On Feb 21, 2008, at 4:44 PM, Per Øyvind Karlsen wrote:
>>
>>
>> Naive has become will never ever be successful.
> I'm not sure if I get what you mean. The macro was more to avoid  
> having to add
> every specific sparc arch in a spec if the build target were a  
> specific sparc
> arch. Different compiler flags per sparc arch would still be  
> independent of
> this..
>

The flaw is the location where the %sparc macro is defined.

/usr/lib/rpm/macros is read by every invocation of rpm.

Q: How many builds on, say, i386 platforms care or need sparc9v2
added to %sparc?
A: 0

Q: How many non-builds (think about install/erase/query/verify/ 
import/... rpm modes)
on any platform, including sparc9v2, care or need sparc9v2 added to  
%sparc?
A: 0

Nothing at all wrong with configuring builds on sparcs to add rparc9v2  
to %sparc.

73 de Jeff
Received on Thu Feb 21 22:56:53 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.