[Pkg-mozext-commits] [SCM] Collection of development scripts used for XUL extensions. branch, master, updated. 0.23-66-g5822d42
Benjamin Drung
bdrung at debian.org
Sat Apr 21 22:15:33 UTC 2012
The following commit has been merged in the master branch:
commit 6bba3d4f3a522b166500715cf2fd549f62353ae7
Author: Tanguy Ortolo <tanguy at ortolo.eu>
Date: Sun Apr 15 13:46:49 2012 +0200
dh_xul-ext: correct Breaks max-version (>> not >=)
An addon is by definition [1] compatible to a target application up to
and *including* its indicated max-version. Thus, it “breaks” this
application's versions *strictly* superior to this max-version.
[1] https://developer.mozilla.org/en/Install_Manifests#targetApplication
The code used to generate a Break field >= max-version; this corrects it
to >> max-version.
diff --git a/dh_xul-ext b/dh_xul-ext
index e003173..6876988 100755
--- a/dh_xul-ext
+++ b/dh_xul-ext
@@ -52,7 +52,7 @@ class XulApp(object):
breaks.append(self.package + " (<< " + deb_min_version + ")")
if self.max_version:
deb_max_version = moz_to_next_debian_version(self.max_version)
- breaks.append(self.package + " (>= " + deb_max_version + ")")
+ breaks.append(self.package + " (>> " + deb_max_version + ")")
return ", ".join(breaks)
def get_eol(self):
--
Collection of development scripts used for XUL extensions.
More information about the Pkg-mozext-commits
mailing list