Skip to content
Snippets Groups Projects
Commit 5d439c47 authored by Ariadne Conill's avatar Ariadne Conill
Browse files

Revert "version: consider pkg-rX and pkg to be the same version"

This reverts commit ee5ce728.
parent 640a7908
No related branches found
No related tags found
No related merge requests found
......@@ -221,11 +221,6 @@ int apk_version_compare_blob_fuzzy(apk_blob_t a, apk_blob_t b, int fuzzy)
if (at == bt || fuzzy)
return APK_VERSION_EQUAL;
/* if only difference is pkgrev, they are equal. */
if ((at == TOKEN_REVISION_NO && bt == TOKEN_END) ||
(at == TOKEN_END && bt == TOKEN_REVISION_NO))
return APK_VERSION_EQUAL;
/* leading version components and their values are equal,
* now the non-terminating version is greater unless it's a suffix
* indicating pre-release */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment