Skip to content

Commit

Permalink
csmock: extend the regex for rich dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudka committed Feb 12, 2021
1 parent 30f3cc0 commit 86776a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/csmock
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def find_missing_pkgs(pkgs, results, mock, ignore_with=False):
pkg = re.sub(" .*$", "", l.strip())
installed.add(pkg)
for dep in pkgs:
if re.match('^\(.* or .*\)$', dep):
if re.match('^\(.* (and|or) .*\)$', dep):
# we do not support checking of rich dependencies
# FIXME: we should rely on mock/yum for checking installed dependencies
continue
Expand Down

0 comments on commit 86776a8

Please sign in to comment.