On Sun, Feb 17, 2019 at 10:55:52AM +1100, Craig Sanders wrote:
> 2. run 'dch -i' to change the package version number. e.g. when dch starts
> up your text editor, change the first line to something like:
>
> sane-backends (1.0.27-3.1~backport) UNRELEASED; urgency=medium

The version number (inside the parentheses) is the only thing that needs to be
changed on this line.

Note: i just tried this on my sid machine and dch aborted with some error
about not finding the original source archive, and didn't change the version
number for me. Don't know why, don't really care - it's a minor problem that
can be ignored(*), and we're not rebuilding the source packages anyway.

I just edited the changelog manually with 'vi debian/changelog' and changed
the version number, then ran dpkg-buildpackage.

(*) OTOH, if it *had* prevented dpkg-buildpackage from successfully compiling
the packages, it would have been a problem worth investigating and fixing. but
it didn't and it wasn't, so i ignored it :)

> 5. install the packages you just built with:
>
>     dpkg -iBE *1.0.27-3.1~backport*.deb

This last step has to be done as root (e.g. with sudo, or in a root shell).
everything else can be done as your normal, non-root user.

BTW, the file glob pattern matches only the packages you just built, just in
case there are other .deb packages in the same dir.

craig

--
craig sanders <[email protected]>
_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main

Reply via email to