[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some assistance learning to backport?


* Jared Johnson <jj3666@gmail.com> [2009-12-19 02:37:47 CET]:
> Obtained src package from testing:
> dget http://ftp.us.debian.org/debian/pool/main/n/netrek-client-cow/netrek-client-cow_3.3.0-1.dsc
> renamed .diff and .dsc with ~bpo50+1 and modified Version: line and filenames in .dsc

 Here you fscked up, this is totally not needed.

> Edited changelog:
> dch --bpo --allow-lower-version --distribution lenny-backports

 dch --bpo on itself does the proper thing, if you use a recent enough
devscripts package (either from lenny-backports or from squeeze/sid).

 Above you just renamed the .diff and .dsc file but didn't change the
*content* of the diff file. You did stick with the old source.

 What you need to do _after_ the dch --bpo call is a dpkg-source -b
netrek-client-cow-3.3.0. That will create the proper .diff.gz and .dsc
files for you.

> Attempted to build package:
> sudo pbuilder build --configfile $HOME/deb/backports-pbuilderrc \
> $HOME/deb/src/netrek/netrek-client-cow_3.3.0-1~bpo50+1.dsc

 And this will pick up your new source then. :)

 Have fun!

Reply to: