rpm.org appears to use <name>-<version>-<rel>.<arch> instead of
<name>-<version>-<rel>.src. generalized last part to everything but dot
and whitespace
}, encoding = "utf-8")
# java-sun >= 1.5 conflicts with soprano-2.1.67-1.src
# java-sun conflicts with soprano-2.1.67-1.src
- rx = re.compile(r"\s+(?P<name>[\w-]+)\s+.*conflicts with [^\s]+-[^-]+-[^-]+\.src($| .*)")
+ # plplot conflicts with plplot-5.15.0-4.x86_64
+ rx = re.compile(r"\s+(?P<name>[\w-]+)\s+.*conflicts with [^\s]+-[^-]+-[^-]+\.[^.\s]+($| .*)")
conflicting = {}
for l in f:
m = rx.search(l)