Examples of bzr-builddeb?

John Barstow jbowtie at amathaine.com
Fri Aug 27 02:59:55 BST 2010


On Thu, Aug 26, 2010 at 10:47 AM, James Westby
<jw+debian at jameswestby.net> wrote:
>
> Partly spurred on by Rob airing my dirty laundry and showing how
> convoluted that was, I made this signficantly simpler in newer versions:
>
>  1. bzr branch http://example.org/bzr/trunk -r tag:0.1 packaging
>  2. cd packaging
>  3. bzr dh-make package-name 0.1 http://example.org/releases/0.1.tar.gz
>  4. bzr commit -m "Initial packaging."
>
> You can then edit the packaging as you like.

This helped considerably and should be in the builddeb documentation.
Though it does make the assumption that you have an original .tar.gz
you want to package, which isn't quite what I wanted.

What I was trying to do was figure out native mode, so I could
basically package a branch by running "bzr builddeb" and not muck
about with generating an underlying version. I'm still learning
packaging so I was going for least effort as opposed to best practice.
I'm now getting to the signfile step; once I clean up the the lintian
warnings I'll fix that and upload to my PPA.

Now that I have a better handle on things I'll give packaging
python-ntlm a go, which should be really straightforward with the
above instructions.



More information about the bazaar mailing list