RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Converting *.spec to Makefiles

From: Jeff Johnson <n3npq@mac.com>
Date: Tue 09 Sep 2008 - 17:15:43 CEST
Message-id: <8D2E5F10-6102-4E1F-99C0-86103EAD8367@mac.com>

On Sep 9, 2008, at 10:52 AM, Anders F Björklund wrote:

>> Hmmm ...
>> [jjohnso1@localhost dist]$ ls -al /bin/{true,false}
>> -rwxr-xr-x 1 root root 29908 2008-08-04 08:47 /bin/false
>> -rwxr-xr-x 1 root root 29908 2008-08-04 08:47 /bin/true
>> Which application should I prefer if they are both the same size?
> I'd go with the one that matches the wallpaper, or simply your  
> preference. :-)
> My mentioning of code sizes was only to imply that it wasn't a  
> complex code...
> Of course it wasn't fair, with one being a real program and the  
> other a script.

My comparison was obviously rigged ;-)

And bee (and YAML) are far lighter in weight than XMl (and perhaps ant).
I like KISS a lot.

> As mentioned, anything picked would probably have to ported to C  
> anyway right ?

All depends on what is done with --queryformat. As currently  
implemented, yes, C.

Ralf has asked for lua escaping under --queryformat, would not be  
impossibly hard
to generalize to a traditional pipe filter too.

The killer is that the existing --queryformat parser is fragile, and  
legacy compatibility
is important. So far I haven't attempted rewriting the --queryformat  
parser more
robustly, I'm collecting header & format extensions that will be  
useful before refactoring
to a more general solution, and attempting a more robust -- 
queryformat syntax parser
implementation with lex/yacc/ragel.

73 de Jeff
> --anders
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> Developer Communication List                        rpm-devel@rpm5.org
Received on Tue Sep 9 17:17:48 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.