today's UEC report

Loïc Minier loic.minier at
Mon Oct 5 14:03:31 BST 2009

On Mon, Oct 05, 2009, Matt Zimmerman wrote:
> Can someone point to a good example of a get-orig-source rule which does the
> right thing for packaging directly from Bazaar?

 That worked in my limited testing:

BZR_REV := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n s/.*bzr//p)
ifneq ($(BZR_REV),)

 but it would probably be more elegant to use bzr-builddeb to create a
 tarball from the current branch (this would work because you keep
 patches below debian/).

 bzr bd will try:
 - to download the tarball from the archive
 - if that failed, to run get-orig-source
 - if that failed and in split mode, build from the current branch
   excluding debian/

 Just use "bzr bd --split -S" to build a source package and that should
 do the right thing (with or without get-orig-source).

 FYI bzr revno lp:eucalyptus is at 433 but changelog has 1.6~bzr854; not
 sure where the upstream branch is.

Loïc Minier

More information about the ubuntu-devel mailing list