Merge lp:~ahasenack/landscape-client/client-package-lintian-fixes into lp:~landscape/landscape-client/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alberto Donato | ||||
Approved revision: | 585 | ||||
Merged at revision: | 567 | ||||
Proposed branch: | lp:~ahasenack/landscape-client/client-package-lintian-fixes | ||||
Merge into: | lp:~landscape/landscape-client/trunk | ||||
Diff against target: |
310 lines (+106/-44) 8 files modified
Makefile (+45/-26) debian/control (+6/-4) debian/landscape-client.templates (+1/-1) debian/landscape-common.templates (+1/-1) debian/po/templates.pot (+30/-8) debian/rules (+7/-4) debian/source.lintian-overrides (+15/-0) debian/source/format (+1/-0) |
||||
To merge this branch: | bzr merge lp:~ahasenack/landscape-client/client-package-lintian-fixes | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Free Ekanayaka (community) | Approve | ||
Alberto Donato (community) | Approve | ||
Jerry Seutter (community) | Approve | ||
Review via email: mp+107688@code.launchpad.net |
Description of the change
This branch makes some changes to debian/* in an attempt to address some lintian warnings and errors in the packaging of landscape-client.
Notable changes:
- standard-version bumped to 3.8.2, the one in lucid. Also added a lintian override about it
- added dynamic dependency ${shlibs:Depends) to -common and -client so they grab the libc6 dependency automatically, and the required debian/rules change to generate those
- stripped binaries
- changed ${Source-Version} to ${binary:Version} in Depends as the former is deprecated
- changed _Choices to __Choices in the -common template which helps translators. Instead of having to translate the whole line, they can now translate each selection (between commas) independently
- added dummy build-arch and build-indep debian/rules targets
- uncommented dh_lintian in debian/rules, since all supported distros now have it. It's a noop for now, because we don't have lintian overrides for the binary packages yet, but might in the future
- added a lintian override for our usage of dh_python, which is not obsolete in lucid for example
- added some other lintian overrides, with comments explaining the reasoning
- added an explicit debian/
- removed some old makefile targets
- added new makefile targets to build a binary package, a source package and a so called "orig" tarball, which doesn't have the debian/ directory.
To run a source build with lintian output, type:
make sourcepackage
To make a binary build, use:
make package
To use your key to sign the build instead of the one from the changelog entry, set the DEBUILD_OPTS makefile variable like this:
make <something> <email address hidden>"
For example:
make sourcepackage <email address hidden>"
To just get the orig tarball in the parent directory:
make origtarball
All the above commands will build a source package, binary package or origtarball, respectively, with:
- all local uncommitted changes
- a debian/changelog entry with a version of XX.YY+bzr<
- XX.YY+bzr<revno> UPSTREAM_VERSION set in landscape/
Builds as advertised, seems okay to my limited understanding of packaging. +1