[Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Improved python version and operator handling. (#1015)
notifications at github.com
Sun Feb 2 00:04:21 UTC 2020
gordonmessmer commented on this pull request.
> + else:
+ rpm_epoch = ''
+ while self.version[-1] == 0:
+ rpm_version = '.'.join(str(x) for x in self.version)
+ if self.pre:
+ rpm_suffix = '~%s' % ''.join(str(x) for x in self.pre)
+ elif self.post:
+ rpm_suffix = '^post%d' % self.post
+ rpm_suffix = ''
+ return '%s%s%s' % (rpm_epoch, rpm_version, rpm_suffix)
+def convert_compatible(name, operator, version_id):
+ if version_id.endswith('.*'):
+ return 'Invalid version'
I've pushed a new commit. The script now exits in these cases.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint