packaging: add compressors dependencies
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 30 Jan 2014 07:58:10 +0000 (09:58 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 31 Jan 2014 09:08:00 +0000 (11:08 +0200)
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 <artem.bityutskiy@intel.com>
debian/control
packaging/bmap-tools.spec

index ed6de2e50cb9471c2063b9ebc0dad708b0a12eb1..749cca953c2303c64c3311f7c97964b7a81eeef2 100644 (file)
@@ -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
index 8281fa1105a626d933ffa17d870bbaf3db58c7db..b3975b469bf9ca74896ed15bb89cfc3b1cdb1b4e 100644 (file)
@@ -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