<p><b>@gordonmessmer</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/rpm-software-management/rpm/pull/1015#discussion_r373809611">scripts/pythondistdeps.py</a>:</p>
<pre style='color:#555'>> +        else:
+            rpm_epoch = ''
+        while self.version[-1] == 0:
+            self.version.pop()
+        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[1]
+        else:
+            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'
</pre>
<p>I've pushed a new commit.  The script now exits in these cases.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/1015?email_source=notifications&email_token=ADLPZU5ULORGA24FAHX2VVTRAYEYLA5CNFSM4KJ7TGA2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCT43ZFY#discussion_r373809611">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU3ODJSKYWY6WXPTLDTRAYEYLANCNFSM4KJ7TGAQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU2A5TSE3QCNG3VOENLRAYEYLA5CNFSM4KJ7TGA2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCT43ZFY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/1015?email_source=notifications\u0026email_token=ADLPZU5ULORGA24FAHX2VVTRAYEYLA5CNFSM4KJ7TGA2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCT43ZFY#discussion_r373809611",
"url": "https://github.com/rpm-software-management/rpm/pull/1015?email_source=notifications\u0026email_token=ADLPZU5ULORGA24FAHX2VVTRAYEYLA5CNFSM4KJ7TGA2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCT43ZFY#discussion_r373809611",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>