gordonmessmer commented on this pull request.
> + version_id = version_id[:-2]
+ version = RpmVersion(version_id)
+ lower_version = RpmVersion(version_id).increment()
+ else:
+ version = RpmVersion(version_id)
+ lower_version = version
+ return '(%s < %s or %s > %s)' % (
+ name, version, name, lower_version)
+
+def convert_ordered(name, operator, version_id):
+ if version_id.endswith('.*'):
+ version_id = version_id[:-2]
+ version = RpmVersion(version_id)
+ if '>' == operator:
+ operator = '>='
+ version.increment()
It's not intentional, and undefined. I think this interpretation/conversion is
fine, though.
https://mail.python.org/archives/list/distutils-...@python.org/thread/NWEQVTCX5CR2RKW2LT4H77PJTEINSX7P/
--
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/1015#discussion_r373640098
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint