[53496] trunk/base/doc/portfile.7

Ryan Schmidt ryandesign at macports.org
Mon Jul 6 21:14:32 PDT 2009


On Jul 6, 2009, at 20:58, blb at macports.org wrote:

> Revision: 53496
>           http://trac.macports.org/changeset/53496
> Author:   blb at macports.org
> Date:     2009-07-06 18:58:30 -0700 (Mon, 06 Jul 2009)
> Log Message:
> -----------
> portfile.7 - document rpm-vercomp's return information

Should we be providing a reference to ticket #11873 at this point?


> Modified Paths:
> --------------
>     trunk/base/doc/portfile.7
>
> Modified: trunk/base/doc/portfile.7
> ===================================================================
> --- trunk/base/doc/portfile.7	2009-07-07 01:53:06 UTC (rev 53495)
> +++ trunk/base/doc/portfile.7	2009-07-07 01:58:30 UTC (rev 53496)
> @@ -1944,7 +1944,12 @@
>  .It Ic md5 Ar
>  Compute the MD5 hashes of the file(s).
>  .It Ic rpm-vercomp Ar versionA Ar versionB
> -Compare two RPM-format versions for equality.
> +Compare two RPM-format versions for equality.  The return value is  
> like
> +strcmp(), returning -1, 0, or 1 when versionA is earlier, equal  
> to, or
> +later than versionB, respectively.  Note that some comparisions  
> featuring
> +floating-point notation may compare incorrection, eg, 2.101 is  
> considered
> +later than 2.2 (101 is larger than 2) which may be incorrect per some
> +projects versioning methods.
>  .It Xo
>  .Ic lpush
>  .Ar varName




More information about the macports-dev mailing list