[Rpm-maint] [rpm-software-management/rpm] Add support for sorting caret ('^') higher than base version (#597)

Panu Matilainen notifications at github.com
Fri Nov 16 09:57:10 UTC 2018


pmatilai commented on this pull request.



>  	(void) rpmlibNeedsFeature(pkg, "TildeInVersions", "4.10.0-1");
 
+    /* check if the package has a dependency with a '^' */
+    if (haveCharInDep(pkg, '^'))
+	(void) rpmlibNeedsFeature(pkg, "CaretInVersions", "4.14.0-1");

The version in rpmlib() doesn't matter (consider backports) as long as we provide the same thing, technically it could just as well be 1.2.3.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/597#discussion_r234147639
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181116/c9dba976/attachment.html>


More information about the Rpm-maint mailing list