From: Artem Bityutskiy Date: Thu, 19 Sep 2013 13:40:04 +0000 (+0300) Subject: packaging: add missing dependencies X-Git-Tag: v3.0~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=344d995583a39f40bfd6f3c82671316de897b2a9;p=tools%2Fbmap-tools.git packaging: add missing dependencies Change-Id: Ib8b000434b5670d418ab58b18bfff82581e4e892 Signed-off-by: Artem Bityutskiy --- diff --git a/debian/control b/debian/control index 36bc7a9..ed6de2e 100644 --- a/debian/control +++ b/debian/control @@ -12,6 +12,7 @@ Package: bmap-tools Architecture: all Depends: python (>=2.7), python-lzma, + python-gpgme, ${misc:Depends}, ${python:Depends}, Description: tool to flash image files to block devices using the block map diff --git a/packaging/bmap-tools.spec b/packaging/bmap-tools.spec index 5d575f3..61c43f2 100644 --- a/packaging/bmap-tools.spec +++ b/packaging/bmap-tools.spec @@ -20,16 +20,22 @@ Source0: %{name}_%{version}.tar.gz BuildRequires: python-distribute -# In OpenSuse the xml.etree module is provided by the python-xml package %if 0%{?suse_version} +# In OpenSuse the xml.etree module is provided by the python-xml package Requires: python-xml +# The gpgme python module is in python-gpgme +Requires: python-gpgme +# Unfortunately, there is no package for the lzma module in OpenSuse +# (checked 12.2 and 12.3) %endif -# In Fedora the xml.etree module is provided by the python-libs package %if 0%{?fedora_version} +# In Fedora the xml.etree module is provided by the python-libs package Requires: python-libs -# Fedora has the pyliblzma which we use for decompressing .xz files +# The lzma python module is packaged in pyliblzma Requires: pyliblzma +# Tha gpgme python module is packaged in pygpgme +Requires: pygpgme %endif # Centos6 uses python 2.6, which does not have the argparse module. However,