Override/suppress bzr options in recipe?

Asked by Jeff Harp on 2019-03-16

I am new to building on Launchpad and new to bzr.

Trying to build an existing project I want to eventually make modifications to.

The first line of my recipe looks like this:
# bzr-builder format 0.3 deb-version {debversion}~jh{revno}

The version info from the change log is:
      upstream - 60.5.1build2

I was expecting to get something like this:

But instead get this:

Looking at the build log, I notice that when bzr is run, an option is being passed to it:
      ... '--append-version', '~ubuntu18.04.1' ...

I don't want this. Is there a way to override or suppress this from the recipe (or elsewhere)?


Question information

English Edit question
Launchpad itself Edit question
No assignee Edit question
Last query:
Last reply:
Colin Watson (cjwatson) said : #1

I'm afraid not. You'll either need to adapt your recipe so that the appended part is tolerable (i.e. arranging not to duplicate most of it, I suppose), or just upload source packages directly. Recipes are opinionated in some ways and we don't expect that they will cover everyone's use cases.

Colin Watson (cjwatson) said : #2

Incidentally, it's unusual that you would have stuff like "+build2-0ubuntu0.18.04.1" in a branch that you're using as one of the inputs to a recipe. Perhaps the best approach would be to use a branch that doesn't already have a lot of what amounts to per-Ubuntu-series metadata in its tip version?

Can you help with this problem?

Provide an answer of your own, or ask Jeff Harp for more information if necessary.

To post a message you must log in.