From: Vivek Sekar Date: Thu, 3 Jan 2008 16:00:09 +0000 (+0000) Subject: Added a small hack to make the modest packages depend on a particular version of... X-Git-Tag: git_migration_finished~1867 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=3e2c6d8b1c1298228ce206ae84d93da02b13ac4d Added a small hack to make the modest packages depend on a particular version of tinymail against which modest is built. pmo-trunk-r3975 --- 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 +