[Python-apps-team] Bug#626132: mercurial-common not rebuilt in binary rebuild
Jonathan Nieder
jrnieder at gmail.com
Mon May 9 05:55:24 UTC 2011
Hi,
Bryan Donlan wrote:
> For some reason, when mercurial 1.8.1-3+b1 was built, mercurial-common
> was not updated. This results in the recommends field in
> mercurial-common referring to the wrong version of mercurial.
Thanks for noticing. That's because mercurial-common is
architecture:all[1].
How about something like this patch? mercurial already depends on a
specific version of mercurial-common, so I wonder why
mercurial-common's dependency in the other direction needs to be
versioned at all. For that matter, why does mercurial-common need any
dependency on mercurial? (I would think the true story is something
like Enhances, which wouldn't need to be declared because of the
Depends in the other direction.)
[1] see http://wiki.debian.org/binNMU
debian/changelog | 6 ++++++
debian/control | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index bc5b196..a8fab4d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mercurial (1.8.1-3.1) local; urgency=low
+
+ * Make mercurial-common's Recommends field binNMU-safe.
+
+ -- Jonathan Nieder <jrnieder at gmail.com> Mon, 09 May 2011 00:45:47 -0500
+
mercurial (1.8.1-3) unstable; urgency=low
* Team Upload
diff --git a/debian/control b/debian/control
index b630aa8..1ac1a38 100644
--- a/debian/control
+++ b/debian/control
@@ -18,12 +18,12 @@ Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/mercurial/trunk/
Package: mercurial-common
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
-Recommends: mercurial (= ${binary:Version}), ca-certificates
+Recommends: mercurial (>= ${source:Version}), ca-certificates
Suggests: wish,
python-mysqldb,
python-pygments,
python-openssl
-Breaks: mercurial (<< ${binary:Version})
+Breaks: mercurial (<< ${source:Version})
Replaces: mercurial (<< 1.4)
Description: scalable distributed version control system (common files)
Mercurial is a fast, lightweight Source Control Management system designed
--
1.7.5.1
More information about the Python-apps-team
mailing list