From 3e2c6d8b1c1298228ce206ae84d93da02b13ac4d Mon Sep 17 00:00:00 2001 From: Vivek Sekar Date: Thu, 3 Jan 2008 16:00:09 +0000 Subject: [PATCH] Added a small hack to make the modest packages depend on a particular version of tinymail against which modest is built. pmo-trunk-r3975 --- debian/rules | 1 + debian/scripts/renew_control_file.sh | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 debian/scripts/renew_control_file.sh diff --git a/debian/rules b/debian/rules index 2a0afbd..64e6c91 100755 --- a/debian/rules +++ b/debian/rules @@ -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 + sh debian/scripts/renew_control_file.sh dh_md5sums dh_builddeb diff --git a/debian/scripts/renew_control_file.sh b/debian/scripts/renew_control_file.sh new file mode 100644 index 0000000..b7135fc --- /dev/null +++ b/debian/scripts/renew_control_file.sh @@ -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 + -- 1.7.9.5