[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Tightening the Breaks



Hi,

the versions of info-browsers that dpkg 1.15.4 breaks are a bit too
loose in some cases, namely when it "Breaks: foobar (<= x.y-z)", where
x.y-z is the Lenny version of info-browser foobar.  The problem is that
there might be an update of foobar in Lenny, say to x.y-zlenny1, which
dpkg also needs to break.  The following patch takes care of that:

--8<---------------cut here---------------start------------->8---
diff --git a/debian/control b/debian/control
index 925a949..aad808c 100644
--- a/debian/control
+++ b/debian/control
@@ -27,8 +27,8 @@ Replaces: manpages-de (<= 0.4-3), manpages-pl (<= 20051117-1)
 Breaks: jed (<< 1:0.99.18+dfsg.1-13), xjed (<< 1:0.99.18+dfsg.1-13),
  konqueror (<= 4:4.2.96-1), xemacs21-support (<< 21.4.22-2),
  emacs22 (<= 22.3+1-1), emacs22-gtk (<= 22.3+1-1), emacs22-nox (<= 22.3+1-1),
- emacs21 (<= 21.4a+1-5.6), emacs21-nox (<= 21.4a+1-5.6),
- tkinfo (<= 2.8-3), pinfo (<= 0.6.9-3), jed-extra (<= 2.5.3-2)
+ emacs21 (<< 21.4a+1-5.7), emacs21-nox (<< 21.4a+1-5.7),
+ tkinfo (<< 2.8-3.1), pinfo (<< 0.6.9-3.1), jed-extra (<= 2.5.3-2)
 Suggests: apt
 Description: Debian package management system
  This package provides the low-level infrastructure for handling the
--8<---------------cut here---------------end--------------->8---

In the other cases where <= was used, the version is already higher than
the one in Lenny, so these do not need to be changed (but might be anyway
for clarity).

Cheers,
       Sven


Reply to: