It really checks only for equality of the current upstream version and
the one in FrugalBuild, so for building a development wine package it
would print:

==> ERROR: Newer version available! (1.1.5 < 1.0)

Now it says

==> ERROR: Upstream version differs! (1.1.5 != 1.0)

Which makes more sense in my opinion.

diff --git a/scripts/makepkg b/scripts/makepkg
index 1f5acc0..669bd28 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -1264,7 +1264,7 @@ if [ "$NOUP2DATE" = "0" ]; then
        else
                if [ "$pkgver" != "$up2date" ]; then
                        $ECHO "   FAILED" >&2
-                       error "Newer version available! ($pkgver < $up2date)"
+                       error "Upstream version differs! ($pkgver != $up2date)"
                        exit 1
                else
                $ECHO "   Passed" >&2
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to