Merge lp:~mordred/glance/fix-deb-packaging-diablo into lp:~openstack-ubuntu-packagers/glance/diablo

Proposed by Monty Taylor
Status: Merged
Merged at revision: 64
Proposed branch: lp:~mordred/glance/fix-deb-packaging-diablo
Merge into: lp:~openstack-ubuntu-packagers/glance/diablo
Diff against target: 54 lines (+9/-8)
3 files modified
debian/changelog (+5/-1)
debian/control (+2/-2)
debian/rules (+2/-5)
To merge this branch: bzr merge lp:~mordred/glance/fix-deb-packaging-diablo
Reviewer Review Type Date Requested Status
Jay Pipes (community) Approve
OpenStack Ubuntu packagers Pending
Review via email: mp+76070@code.launchpad.net

Description of the change

Fix build for lucid.

To post a comment you must log in.
Revision history for this message
Jay Pipes (jaypipes) wrote :

magic to me...

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-09-19 13:12:00 +0000
3+++ debian/changelog 2011-09-19 17:09:34 +0000
4@@ -1,9 +1,13 @@
5 glance (2011.3~rc~20110915.r1007-0ubuntu1) oneiric; urgency=low
6
7+ [ Chuck Short ]
8 * New upstream release.
9 * debian/rules: Dont fail to build because of broken testsuite.
10
11- -- Chuck Short <zulcss@ubuntu.com> Fri, 16 Sep 2011 09:38:23 -0400
12+ [ Monty Taylor ]
13+ * Added branch condition to fix build on lucid.
14+
15+ -- Monty Taylor <mordred@inaugust.com> Mon, 19 Sep 2011 13:03:41 -0400
16
17 glance (2011.3~rc~20110908.r1005-0ubuntu1) oneiric; urgency=low
18
19
20=== modified file 'debian/control'
21--- debian/control 2011-08-19 23:00:11 +0000
22+++ debian/control 2011-09-19 17:09:34 +0000
23@@ -3,9 +3,9 @@
24 Priority: extra
25 Maintainer: Soren Hansen <soren@ubuntu.com>
26 Build-Depends: debhelper (>= 7.0.50),
27- python-all
28+ python-all (>= 2.6),
29+ python-all-dev (>= 2.6.6-3~) | python-support,
30 Build-Depends-Indep:
31- python-support,
32 python-setuptools,
33 python-sphinx,
34 python-sqlalchemy-ext | python-sqlalchemy (<< 0.6.3-2),
35
36=== modified file 'debian/rules'
37--- debian/rules 2011-09-19 13:12:00 +0000
38+++ debian/rules 2011-09-19 17:09:34 +0000
39@@ -3,13 +3,10 @@
40 # Verbose mode
41 #export DH_VERBOSE=1
42
43-
44-DEB_PYTHON_SYSTEM=pysupport
45-
46-#export DH_VERBOSE=1
47+WITH_PYTHON2 = $(shell test -f /usr/bin/dh_python2 && echo "--with python2")
48
49 %:
50- dh $@ --with python2
51+ dh $@ ${WITH_PYTHON2}
52
53 get-orig-source:
54 uscan --verbose --force-download --rename --destdir=../build-area

Subscribers

People subscribed via source and target branches