Turns out this isn't quite so simple, but luckily IBM have done the work for us (see https://github.com/linux-on-ibm-z/docs/wiki/Building- MongoDB-2.4-and-2.6). Attaching debdiff.
** Patch added: "juju-mongodb_2.4.10-0ubuntu4_2.4.10-0ubuntu5.diff" https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1506990/+attachment/4534836/+files/juju-mongodb_2.4.10-0ubuntu4_2.4.10-0ubuntu5.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1506990 Title: please drop architecture list in debian/control To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1506990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs