packaging: add missing dependencies
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 19 Sep 2013 13:40:04 +0000 (16:40 +0300)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 20 Sep 2013 10:34:16 +0000 (13:34 +0300)
Change-Id: Ib8b000434b5670d418ab58b18bfff82581e4e892
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
debian/control
packaging/bmap-tools.spec

index 36bc7a9d95b5c7d4acb1317ed297cbc7d3670e35..ed6de2e50cb9471c2063b9ebc0dad708b0a12eb1 100644 (file)
@@ -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
index 5d575f37369d96e162f0e8f8a2d65908c9b6b500..61c43f2d7e3952f344d4e234731b3d446e413d3a 100644 (file)
@@ -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,