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
1=== modified file 'rules'
2--- rules 2014-03-12 19:58:40 +0000
3+++ rules 2014-04-24 15:41:09 +0000
4@@ -2,12 +2,14 @@
5 # -*- makefile -*-
6
7 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
8+export PYTHON=/usr/bin/python3
9+export PYTHON_CONFIG=/usr/bin/python3-config
10+export PYTHON_VERSION=3
11+export PYTHON_VERSIONs=python3
12
13 %:
14- dh $@
15+ dh $@ --with python3
16
17 override_dh_auto_configure:
18 ./bootstrap
19- # Python bindings require Python 3
20- PYTHON="python3" PYTHON_CONFIG="/usr/bin/python3-config" \
21 dh_auto_configure -- --enable-python-bindings

Subscribers

People subscribed via source and target branches

to all changes: