Merge lp:~gandelman-a/ubuntu/precise/glance/lp907543 into lp:~ubuntu-server-dev/glance/essex

Proposed by Adam Gandelman
Status: Merged
Merge reported by: Chuck Short
Merged at revision: not available
Proposed branch: lp:~gandelman-a/ubuntu/precise/glance/lp907543
Merge into: lp:~ubuntu-server-dev/glance/essex
Diff against target: 46 lines (+10/-13)
3 files modified
debian/changelog (+9/-0)
debian/control (+1/-1)
debian/python-glance.postinst (+0/-12)
To merge this branch: bzr merge lp:~gandelman-a/ubuntu/precise/glance/lp907543
Reviewer Review Type Date Requested Status
Alex Muntada (community) Approve
Review via email: mp+86632@code.launchpad.net

Description of the change

Apparently, python-glance.postinst was dependent on python-support. This wasn't being installed by the package but we were getting for free due to other packages' reliance. Those have apparently converted to dh_python2 and we can't (mistakenly) assume that python-support is installed anymore.

To post a comment you must log in.
Revision history for this message
Alex Muntada (alex.muntada) wrote :

Reviewed trivial change, approved.

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-12-16 20:57:21 +0000
3+++ debian/changelog 2011-12-21 23:00:30 +0000
4@@ -1,3 +1,12 @@
5+glance (2012.1~e2-0ubuntu3) UNRELEASED; urgency=low
6+
7+ * debian/control: Drop python-support from Build-Depends
8+ * debian/python-glance.postinst: Removed. python-support is needed
9+ for update-python-modules but not a dependency. Let dh_python2
10+ generate instead. (LP: #907543)
11+
12+ -- Adam Gandelman <adamg@canonical.com> Wed, 21 Dec 2011 14:50:55 -0800
13+
14 glance (2012.1~e2-0ubuntu2) precise; urgency=low
15
16 * debian/glance-registry.postinst: Fix typo in postinst.
17
18=== modified file 'debian/control'
19--- debian/control 2011-12-15 18:21:14 +0000
20+++ debian/control 2011-12-21 23:00:30 +0000
21@@ -4,7 +4,7 @@
22 Maintainer: Ubuntu OpenStack <openstack-packaging@lists.ubuntu.com>
23 Build-Depends: debhelper (>= 7.0.50),
24 python-all (>= 2.6),
25- python-all-dev (>= 2.6.6-3~) | python-support,
26+ python-all-dev (>= 2.6.6-3~)
27 Build-Depends-Indep:
28 python-setuptools,
29 python-sphinx,
30
31=== removed file 'debian/python-glance.postinst'
32--- debian/python-glance.postinst 2011-05-06 12:25:11 +0000
33+++ debian/python-glance.postinst 1970-01-01 00:00:00 +0000
34@@ -1,12 +0,0 @@
35-#!/bin/sh
36-
37-set -e
38-
39-#DEBHELPER#
40-
41-if [ "$1" = "configure" ]
42-then
43- update-python-modules --post-install
44-fi
45-
46-exit 0

Subscribers

People subscribed via source and target branches