[100580] contrib/port-whatsnew/port-whatsnew

raimue at macports.org raimue at macports.org
Sun Dec 16 06:38:11 PST 2012


Revision: 100580
          https://trac.macports.org/changeset/100580
Author:   raimue at macports.org
Date:     2012-12-16 06:38:11 -0800 (Sun, 16 Dec 2012)
Log Message:
-----------
port-whatsnew:
Replace deprecated rpm-vercomp with vercmp

Modified Paths:
--------------
    contrib/port-whatsnew/port-whatsnew

Modified: contrib/port-whatsnew/port-whatsnew
===================================================================
--- contrib/port-whatsnew/port-whatsnew	2012-12-16 13:04:02 UTC (rev 100579)
+++ contrib/port-whatsnew/port-whatsnew	2012-12-16 14:38:11 UTC (rev 100580)
@@ -96,9 +96,9 @@
     set revision [lindex $i 2]
     set epoch [lindex $i 5]
     if { $version_selected == {} || $epoch > $epoch_selected ||
-            ($epoch == $epoch_selected && [rpm-vercomp $version $version_selected] > 0)
+            ($epoch == $epoch_selected && [vercmp $version $version_selected] > 0)
             || ($epoch == $epoch_selected
-                && [rpm-vercomp $version $version_selected] == 0
+                && [vercmp $version $version_selected] == 0
                 && $revision > $revision_selected)} {
         set version_selected $version
         set revision_selected $revision
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121216/1110c76a/attachment.html>


More information about the macports-changes mailing list