Fix pylint error: before createrepo depends on yum, yum will be installed, but create... 00/246500/1 accepted/tizen/devbase/tools/20201105.013055 submit/trunk/20201030.143530 submit/trunk/20201102.094730 submit/trunk/20201104.132730
authorbiao716.wang <biao716.wang@samsung.com>
Fri, 30 Oct 2020 06:03:50 +0000 (15:03 +0900)
committerbiao716.wang <biao716.wang@samsung.com>
Fri, 30 Oct 2020 06:03:50 +0000 (15:03 +0900)
Change-Id: Ie1da951cd9917f499c38e9ba143a5418f26e82ea
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
debian/control
packaging/mic.spec

index 72cc18e..9647472 100644 (file)
@@ -14,7 +14,8 @@ Depends: ${misc:Depends}, ${python:Depends},
  python-urlgrabber,
  cpio,
  bzip2,
- gzip
+ gzip,
+ yum
 Conflicts:
  mic2
 Description: image creator for Linux distributions
index 5f10372..97e630b 100755 (executable)
@@ -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