On Fri, 30 Nov 2007, Dan Stromberg wrote:-
Vladimir Nadvornik wrote:
Yes, converting everything to numbers is probably the most safe way. Some project use something like 3.0.99.2 for 3.1-RC2.
How high can the numbers go?
Is a number like 8000 safe?
I certainly think so, especially since rpm treats the version "number" is treat as a plain text string. For example, I've one package where the upstream version number is a ten digit number: davjam@davids:~> rpm -qi wtf Name : wtf Relocations: (not relocatable) Version : 20051104 Vendor: (none) Release : 1.suse93 Build Date: Mon 16 Oct 2006 07:58:00 BST Install date: Sat 03 Nov 2007 13:45:59 GMT Build Host: davids.davjam.org Group : Amusements/Toys Source RPM: wtf-20051104-1.suse93.src.rpm Size : 18466 License: Public domain Signature : (none) Packager : David Bolt <davjam@davjam.org> URL : http://www.mu.org/~mux/wtf/ Summary : Expands acronyms Description : The utility displays the expansion of the acronyms specified on the command line. Distribution: SUSE Linux 9.3 Then there's those where either the version or the release string contains letters and numbers, e.g. ffmpeg-0.4.9-8.pm.svn20071106.src.rpm and rpm has no problem handling those. Regards, David Bolt -- Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys | SUSE 10.1 32bit | openSUSE 10.2 32bit | openSUSE 10.3 32bit SUSE 10.0 64bit | SUSE 10.1 64bit | openSUSE 10.2 64bit | RISC OS 3.11 | RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org