Merge lp:~nuclearbob/babeltrace/packaging-daily into lp:~lttng/babeltrace/packaging-daily

Proposed by Max Brustkern
Status: Merged
Approved by: Simon Marchi
Approved revision: 33
Merged at revision: 32
Proposed branch: lp:~nuclearbob/babeltrace/packaging-daily
Merge into: lp:~lttng/babeltrace/packaging-daily
Diff against target: 21 lines (+5/-3)
1 file modified
rules (+5/-3)
To merge this branch: bzr merge lp:~nuclearbob/babeltrace/packaging-daily
Reviewer Review Type Date Requested Status
Simon Marchi Approve
Review via email: mp+217076@code.launchpad.net

Description of the change

These packaging changes are based on Ted Gould's old packaging. The primary change is the python3 deb helper, which installs the package to dist-packages rather than site-packages. I also moved environment variables to the place Ted had them.

To post a comment you must log in.
Revision history for this message
Simon Marchi (simon-marchi) wrote :

Looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'rules'
--- rules 2014-03-12 19:58:40 +0000
+++ rules 2014-04-24 15:41:09 +0000
@@ -2,12 +2,14 @@
2# -*- makefile -*-2# -*- makefile -*-
33
4export DEB_BUILD_MAINT_OPTIONS := hardening=+all4export DEB_BUILD_MAINT_OPTIONS := hardening=+all
5export PYTHON=/usr/bin/python3
6export PYTHON_CONFIG=/usr/bin/python3-config
7export PYTHON_VERSION=3
8export PYTHON_VERSIONs=python3
59
6%:10%:
7 dh $@ 11 dh $@ --with python3
812
9override_dh_auto_configure:13override_dh_auto_configure:
10 ./bootstrap14 ./bootstrap
11 # Python bindings require Python 3
12 PYTHON="python3" PYTHON_CONFIG="/usr/bin/python3-config" \
13 dh_auto_configure -- --enable-python-bindings15 dh_auto_configure -- --enable-python-bindings

Subscribers

People subscribed via source and target branches

to all changes: