Added a small hack to make the modest packages depend on a particular version of...
authorVivek Sekar <ext-vivek.1.sekar@nokia.com>
Thu, 3 Jan 2008 16:00:09 +0000 (16:00 +0000)
committerVivek Sekar <ext-vivek.1.sekar@nokia.com>
Thu, 3 Jan 2008 16:00:09 +0000 (16:00 +0000)
pmo-trunk-r3975

debian/rules
debian/scripts/renew_control_file.sh [new file with mode: 0644]

index 2a0afbd..64e6c91 100755 (executable)
@@ -118,6 +118,7 @@ binary-arch: build install
        # Not a requirement by now, so don't fail if it's not installed
 #      which dh_maemolauncher && dh_maemolauncher usr/bin/modest || true
        dh_gencontrol
        # Not a requirement by now, so don't fail if it's not installed
 #      which dh_maemolauncher && dh_maemolauncher usr/bin/modest || true
        dh_gencontrol
+       sh debian/scripts/renew_control_file.sh
        dh_md5sums
        dh_builddeb
 
        dh_md5sums
        dh_builddeb
 
diff --git a/debian/scripts/renew_control_file.sh b/debian/scripts/renew_control_file.sh
new file mode 100644 (file)
index 0000000..b7135fc
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+TMP=`dpkg -s libtinymail-1.0-0 | grep Version: | awk '{print $2}'`
+echo $TMP
+sed -i "s/-1.0-0/-1.0-0 (>= $TMP )/g" debian/modest/DEBIAN/control
+