diff options
author | Benjamin Drung <bdrung@debian.org> | 2012-05-23 21:29:56 +0200 |
---|---|---|
committer | Benjamin Drung <bdrung@debian.org> | 2012-05-23 21:29:56 +0200 |
commit | 69fa5a271fa68527b5c67ccb314588a3a1bdfb17 (patch) | |
tree | 40aee8c5fb87c2ac4fd10592d7bf0e139977c6d4 /tests/dh_xul-ext | |
parent | 80b57930040dd1df66b2d82ac96eed6ebf5a6c40 (diff) |
dh_xul-ext: Do not generate a Breaks entry for Firefox/Iceweasel 10 or later.
Firefox/Iceweasel 10 defaults add-ons to compatible.
Diffstat (limited to 'tests/dh_xul-ext')
-rw-r--r-- | tests/dh_xul-ext/all/debian/control | 1 | ||||
-rw-r--r-- | tests/dh_xul-ext/all_environment/debian/control | 1 | ||||
-rw-r--r-- | tests/dh_xul-ext/debian/debian/control | 1 | ||||
-rw-r--r-- | tests/dh_xul-ext/default-to-compatible/debian/changelog | 5 | ||||
-rw-r--r-- | tests/dh_xul-ext/default-to-compatible/debian/compat | 1 | ||||
-rw-r--r-- | tests/dh_xul-ext/default-to-compatible/debian/control | 18 | ||||
-rwxr-xr-x | tests/dh_xul-ext/default-to-compatible/debian/rules | 8 | ||||
-rw-r--r-- | tests/dh_xul-ext/default-to-compatible/install.rdf | 16 | ||||
-rw-r--r-- | tests/dh_xul-ext/expected_result/default-to-compatible.substvars | 5 | ||||
-rwxr-xr-x | tests/dh_xul-ext/test | 2 | ||||
-rw-r--r-- | tests/dh_xul-ext/ubuntu/debian/control | 1 |
11 files changed, 58 insertions, 1 deletions
diff --git a/tests/dh_xul-ext/all/debian/control b/tests/dh_xul-ext/all/debian/control index 346ceba..1aea594 100644 --- a/tests/dh_xul-ext/all/debian/control +++ b/tests/dh_xul-ext/all/debian/control @@ -11,6 +11,7 @@ Depends: ${misc:Depends}, ${xpi:Depends} Recommends: ${xpi:Recommends} Provides: ${xpi:Provides} Enhances: ${xpi:Enhances} +Breaks: ${xpi:Breaks} Description: mozilla-devscripts test package This is a test package designed to test some scripts in mozilla-devscripts. It is part of the mozilla-devscripts test suite and may do very odd things. It diff --git a/tests/dh_xul-ext/all_environment/debian/control b/tests/dh_xul-ext/all_environment/debian/control index 346ceba..1aea594 100644 --- a/tests/dh_xul-ext/all_environment/debian/control +++ b/tests/dh_xul-ext/all_environment/debian/control @@ -11,6 +11,7 @@ Depends: ${misc:Depends}, ${xpi:Depends} Recommends: ${xpi:Recommends} Provides: ${xpi:Provides} Enhances: ${xpi:Enhances} +Breaks: ${xpi:Breaks} Description: mozilla-devscripts test package This is a test package designed to test some scripts in mozilla-devscripts. It is part of the mozilla-devscripts test suite and may do very odd things. It diff --git a/tests/dh_xul-ext/debian/debian/control b/tests/dh_xul-ext/debian/debian/control index 346ceba..1aea594 100644 --- a/tests/dh_xul-ext/debian/debian/control +++ b/tests/dh_xul-ext/debian/debian/control @@ -11,6 +11,7 @@ Depends: ${misc:Depends}, ${xpi:Depends} Recommends: ${xpi:Recommends} Provides: ${xpi:Provides} Enhances: ${xpi:Enhances} +Breaks: ${xpi:Breaks} Description: mozilla-devscripts test package This is a test package designed to test some scripts in mozilla-devscripts. It is part of the mozilla-devscripts test suite and may do very odd things. It diff --git a/tests/dh_xul-ext/default-to-compatible/debian/changelog b/tests/dh_xul-ext/default-to-compatible/debian/changelog new file mode 100644 index 0000000..1b45ee9 --- /dev/null +++ b/tests/dh_xul-ext/default-to-compatible/debian/changelog @@ -0,0 +1,5 @@ +test-package (1.0-1) UNRELEASED; urgency=low + + * Initial release. + + -- Benjamin Drung <bdrung@debian.org> Sat, 09 Jul 2011 12:55:23 +0200 diff --git a/tests/dh_xul-ext/default-to-compatible/debian/compat b/tests/dh_xul-ext/default-to-compatible/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/tests/dh_xul-ext/default-to-compatible/debian/compat @@ -0,0 +1 @@ +7 diff --git a/tests/dh_xul-ext/default-to-compatible/debian/control b/tests/dh_xul-ext/default-to-compatible/debian/control new file mode 100644 index 0000000..1aea594 --- /dev/null +++ b/tests/dh_xul-ext/default-to-compatible/debian/control @@ -0,0 +1,18 @@ +Source: test-package +Section: web +Priority: extra +Maintainer: Ubuntu Mozilla Team <ubuntu-mozillateam@lists.ubuntu.com> +Build-Depends: debhelper (>= 7.0.50~), mozilla-devscripts (>= 0.22~) +Standards-Version: 3.9.2 + +Package: xul-ext-test-package +Architecture: all +Depends: ${misc:Depends}, ${xpi:Depends} +Recommends: ${xpi:Recommends} +Provides: ${xpi:Provides} +Enhances: ${xpi:Enhances} +Breaks: ${xpi:Breaks} +Description: mozilla-devscripts test package + This is a test package designed to test some scripts in mozilla-devscripts. + It is part of the mozilla-devscripts test suite and may do very odd things. It + should not be installed like a regular package. It may be an empty package. diff --git a/tests/dh_xul-ext/default-to-compatible/debian/rules b/tests/dh_xul-ext/default-to-compatible/debian/rules new file mode 100755 index 0000000..26712f4 --- /dev/null +++ b/tests/dh_xul-ext/default-to-compatible/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_install: + dh_install install.rdf /usr/share/xul-ext/test-package/ + DEB_VENDOR=Debian ../../../dh_xul-ext diff --git a/tests/dh_xul-ext/default-to-compatible/install.rdf b/tests/dh_xul-ext/default-to-compatible/install.rdf new file mode 100644 index 0000000..660f7e1 --- /dev/null +++ b/tests/dh_xul-ext/default-to-compatible/install.rdf @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> + <Description about="urn:mozilla:install-manifest"> + <em:id>{deadda7a-fee1-dead-coo1-d00ddeadc0de}</em:id> + <em:version>1.0</em:version> + <em:name>mozilla-devscripts test package</em:name> + <em:targetApplication> + <Description> + <!-- Iceweasel/Firefox --> + <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> + <em:minVersion>4.0</em:minVersion> + <em:maxVersion>11</em:maxVersion> + </Description> + </em:targetApplication> + </Description> +</RDF> diff --git a/tests/dh_xul-ext/expected_result/default-to-compatible.substvars b/tests/dh_xul-ext/expected_result/default-to-compatible.substvars new file mode 100644 index 0000000..eeb600b --- /dev/null +++ b/tests/dh_xul-ext/expected_result/default-to-compatible.substvars @@ -0,0 +1,5 @@ +xpi:Depends=iceweasel (>= 4.0) +xpi:Recommends= +xpi:Breaks=iceweasel (<< 4.0) +xpi:Enhances=iceweasel +xpi:Provides=iceweasel-test-package, test-package diff --git a/tests/dh_xul-ext/test b/tests/dh_xul-ext/test index 7da0433..02085b8 100755 --- a/tests/dh_xul-ext/test +++ b/tests/dh_xul-ext/test @@ -18,7 +18,7 @@ import os import sys import subprocess -TESTS = ("all", "all_environment", "debian", "ubuntu") +TESTS = ("all", "all_environment", "debian", "default-to-compatible", "ubuntu") class TestError(Exception): pass diff --git a/tests/dh_xul-ext/ubuntu/debian/control b/tests/dh_xul-ext/ubuntu/debian/control index 346ceba..1aea594 100644 --- a/tests/dh_xul-ext/ubuntu/debian/control +++ b/tests/dh_xul-ext/ubuntu/debian/control @@ -11,6 +11,7 @@ Depends: ${misc:Depends}, ${xpi:Depends} Recommends: ${xpi:Recommends} Provides: ${xpi:Provides} Enhances: ${xpi:Enhances} +Breaks: ${xpi:Breaks} Description: mozilla-devscripts test package This is a test package designed to test some scripts in mozilla-devscripts. It is part of the mozilla-devscripts test suite and may do very odd things. It |