[Tinyos-1.2wg] Tools for 1.2

Ion Yannopoulos ion at eecs.berkeley.edu
Tue Feb 22 11:04:12 PST 2005


Kristin Wright wrote:

>Just a quick note about rpm name field delimiters. rpms use the '-' to
>delimit fields in the name -- package, version, release, etc..  The
>spec file lists these things and the rpmbuild program concatenates
>them together with dashes.
>
>-kw
>  
>
Hmm. I see what you are getting at. I have seen packages on rpmfind.net 
that use the date as part of the 'release' field, which may be why my 
previous suggestion seemed reasonable. My point was that version numbers 
too have a convention (<major>.<minor>.<patch>) and that patch numbers, 
like release numbers, are usually small integers that increase by 1. 
Deviating from that can confuse other heuristics. I guess in this case 
the date can be seen to be a patch, although that is troublesome if the 
package ever changes to use regular <patch> numbers.

I don't have a good solution to that other than that David suggested 
avarice could just use a patch number, which I agree with :) I 
definitely agree that breaking RPMs is a bad idea, and '-' is not a good 
delimiter for the date in this case, so I withdraw the previous argument.

Ion


More information about the Tinyos-1.2wg mailing list