Merge lp:~timo-jyrinki/ubuntu-ui-toolkit/qmlrunner_use_dpkg_architecture into lp:ubuntu-ui-toolkit

Proposed by Timo Jyrinki
Status: Merged
Approved by: Sergio Schvezov
Approved revision: 520
Merged at revision: 523
Proposed branch: lp:~timo-jyrinki/ubuntu-ui-toolkit/qmlrunner_use_dpkg_architecture
Merge into: lp:ubuntu-ui-toolkit
Diff against target: 22 lines (+3/-2)
1 file modified
debian/rules (+3/-2)
To merge this branch: bzr merge lp:~timo-jyrinki/ubuntu-ui-toolkit/qmlrunner_use_dpkg_architecture
Reviewer Review Type Date Requested Status
Sergio Schvezov (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+166172@code.launchpad.net

Commit message

Use dpkg-architecture instead of '*' for qmlrunner's symlinks. Something has broken the latter recently and dpkg-architecture is more trustworthy anyway.

Description of the change

Use dpkg-architecture instead of '*' for qmlrunner's symlinks. Something has broken the latter recently and dpkg-architecture is more trustworthy anyway.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Good!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/rules'
2--- debian/rules 2013-05-08 05:25:53 +0000
3+++ debian/rules 2013-05-29 05:06:27 +0000
4@@ -3,6 +3,7 @@
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7 export DPKG_GENSYMBOLS_CHECK_LEVEL=4
8+DEB_HOST_MULTI_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
9
10 %:
11 dh $@ --fail-missing
12@@ -13,8 +14,8 @@
13 # Provide both legacy qmlscene and future qml links
14 # -> users may update to use the 'qml' name
15 mkdir -p $(CURDIR)/debian/tmp/usr/bin
16- ln -s /usr/lib/*/qt5/bin/qmlscene $(CURDIR)/debian/tmp/usr/bin/qml
17- ln -s /usr/lib/*/qt5/bin/qmlscene $(CURDIR)/debian/tmp/usr/bin/qmlscene
18+ ln -s /usr/lib/$(DEB_HOST_MULTI_ARCH)/qt5/bin/qmlscene $(CURDIR)/debian/tmp/usr/bin/qml
19+ ln -s /usr/lib/$(DEB_HOST_MULTI_ARCH)/qt5/bin/qmlscene $(CURDIR)/debian/tmp/usr/bin/qmlscene
20
21 override_dh_install:
22 dh_auto_build -- docs

Subscribers

People subscribed via source and target branches

to status/vote changes: