summaryrefslogtreecommitdiff
path: root/tic/dependency.py
diff options
context:
space:
mode:
Diffstat (limited to 'tic/dependency.py')
-rw-r--r--tic/dependency.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tic/dependency.py b/tic/dependency.py
index 5cab72e..19864b9 100644
--- a/tic/dependency.py
+++ b/tic/dependency.py
@@ -213,6 +213,9 @@ def get_installed_packages(recipe, repoinfo, pkg_group):
if pkg_info.get(dep_tag):
for req in pkg_info.get(dep_tag):
choose = None
+ # self-reference (e.g. vim-base)
+ if req['name'] == pkg_info['name']:
+ continue
# Find dependency rpm based on capability/files
if req['name'] in provides:
# capability : [provide_rpm_1, provide_rpm_2, ... ]