We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--installdeps
1 parent cbefee4 commit a728c5bCopy full SHA for a728c5b
1 file changed
csmock/csmock
@@ -356,7 +356,7 @@ echo \"$self_pid\" > \"$lock_file\"'" \
356
cmd = ["--install", "module-build-macros"] + cmd_add
357
self.exec_mock_cmd(cmd, quiet=quiet)
358
359
- if "rhel-7" in self.mock_profile:
+ if re.search(r"rhel-[67]", self.mock_profile):
360
# use --installdeps for legacy chroots
361
base_cmd = "--installdeps"
362
else:
0 commit comments