From: biao716.wang Date: Fri, 30 Oct 2020 06:03:50 +0000 (+0900) Subject: Fix pylint error: before createrepo depends on yum, yum will be installed, but create... X-Git-Tag: accepted/tizen/devbase/tools/20201105.013055^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ac52bdc4985b49e637a84892064694a5186b03e;p=tools%2Fmic.git Fix pylint error: before createrepo depends on yum, yum will be installed, but createrepo is removed, so add dependece for yum directly Change-Id: Ie1da951cd9917f499c38e9ba143a5418f26e82ea Signed-off-by: biao716.wang --- diff --git a/debian/control b/debian/control index 72cc18e..9647472 100644 --- a/debian/control +++ b/debian/control @@ -14,7 +14,8 @@ Depends: ${misc:Depends}, ${python:Depends}, python-urlgrabber, cpio, bzip2, - gzip + gzip, + yum Conflicts: mic2 Description: image creator for Linux distributions diff --git a/packaging/mic.spec b/packaging/mic.spec index 5f10372..97e630b 100755 --- a/packaging/mic.spec +++ b/packaging/mic.spec @@ -19,6 +19,7 @@ Source0: %{name}_%{version}.tar.gz Requires: python >= 2.6 Requires: python-urlgrabber >= 3.9.0 +Requires: yum %if 0%{?suse_version} || 0%{?tizen_version:1} Requires: python-xml %endif