From: Artem Bityutskiy Date: Thu, 30 Jan 2014 07:58:10 +0000 (+0200) Subject: packaging: add compressors dependencies X-Git-Tag: v3.2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b97515713008a51c1a17f23af5999cd216558777;p=tools%2Fbmap-tools.git packaging: add compressors dependencies Add a bunch of dependencies: bzip2, gzip, tar, lzo, xz, pbzip2, pigz. This is a preparation to the next change where we'll re-write the TransRead module and start using external tools for decompression. Change-Id: I8815942ff44fd6ed9c8d60bc62b1cdfd1e1988c7 Signed-off-by: Artem Bityutskiy --- diff --git a/debian/control b/debian/control index ed6de2e..749cca9 100644 --- a/debian/control +++ b/debian/control @@ -15,6 +15,13 @@ Depends: python (>=2.7), python-gpgme, ${misc:Depends}, ${python:Depends}, + bzip2, + pbzip2, + gzip, + pigz, + lzop, + xz-utils, + tar Description: tool to flash image files to block devices using the block map bmaptool is a generic tool for creating the block map (bmap) for a file, and copying files using the block map. The idea is that large diff --git a/packaging/bmap-tools.spec b/packaging/bmap-tools.spec index 8281fa1..b3975b4 100644 --- a/packaging/bmap-tools.spec +++ b/packaging/bmap-tools.spec @@ -18,6 +18,22 @@ BuildArch: noarch URL: http://www.tizen.org Source0: %{name}_%{version}.tar.gz +Requires: bzip2 +Requires: pbzip2 +Requires: gzip +Requires: pigz +Requires: xz +Requires: tar + +%if 0%{?suse_version} +%if 0%{?suse_version} > 1210 +# lzop is present in OpenSuse since version 12.1 +Requires: lzop +%endif +%else +Requires: lzop +%endif + BuildRequires: python-distribute %if 0%{?suse_version} @@ -25,16 +41,12 @@ BuildRequires: python-distribute 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 %if 0%{?fedora_version} # In Fedora the xml.etree module is provided by the python-libs package Requires: python-libs # The lzma python module is packaged in pyliblzma -Requires: pyliblzma -# Tha gpgme python module is packaged in pygpgme Requires: pygpgme %endif