summaryrefslogtreecommitdiff
path: root/scripts/t/dpkg_buildpackage
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2018-11-10 03:23:19 +0100
committerGuillem Jover <guillem@debian.org>2019-01-15 03:42:39 +0100
commit4a4619831de8b8972f86b489660dc98f187cfa34 (patch)
tree948e8f20d27a4d7a77bddfd11eda2ef176cfe5ad /scripts/t/dpkg_buildpackage
parent289dc861960b88f67e45a4a3ba4b9ee51cf3da39 (diff)
downloaddpkg-4a4619831de8b8972f86b489660dc98f187cfa34.tar.gz
dpkg-genchanges: Only reference binary packages being uploaded
The .changes file describes an upload, and its Binary and Description fields should contain (as documented) only references to the packages being uploaded. In case of a source-only upload, the Binary and Description fields should be empty. Closes: #818618
Diffstat (limited to 'scripts/t/dpkg_buildpackage')
-rw-r--r--scripts/t/dpkg_buildpackage/test-source_0_all.changes3
-rw-r--r--scripts/t/dpkg_buildpackage/test-source_0_any.changes3
-rw-r--r--scripts/t/dpkg_buildpackage/test-source_0_source.changes4
3 files changed, 2 insertions, 8 deletions
diff --git a/scripts/t/dpkg_buildpackage/test-source_0_all.changes b/scripts/t/dpkg_buildpackage/test-source_0_all.changes
index ebe0890e2..c6c444f45 100644
--- a/scripts/t/dpkg_buildpackage/test-source_0_all.changes
+++ b/scripts/t/dpkg_buildpackage/test-source_0_all.changes
@@ -1,7 +1,7 @@
Format: 1.8
Date: Thu, 30 Jun 2016 20:15:12 +0200
Source: test-source
-Binary: test-binary-all test-binary-any
+Binary: test-binary-all
Architecture: all
Version: 0
Distribution: unstable
@@ -10,7 +10,6 @@ Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
Changed-By: Dpkg Developers <debian-dpkg@lists.debian.org>
Description:
test-binary-all - architecture independent binary package
- test-binary-any - architecture dependent binary package
Closes: 12345
Changes:
test-source (0) unstable; urgency=low
diff --git a/scripts/t/dpkg_buildpackage/test-source_0_any.changes b/scripts/t/dpkg_buildpackage/test-source_0_any.changes
index 098277f14..d67460cba 100644
--- a/scripts/t/dpkg_buildpackage/test-source_0_any.changes
+++ b/scripts/t/dpkg_buildpackage/test-source_0_any.changes
@@ -1,7 +1,7 @@
Format: 1.8
Date: Thu, 30 Jun 2016 20:15:12 +0200
Source: test-source
-Binary: test-binary-all test-binary-any
+Binary: test-binary-any
Architecture: amd64
Version: 0
Distribution: unstable
@@ -9,7 +9,6 @@ Urgency: low
Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
Changed-By: Dpkg Developers <debian-dpkg@lists.debian.org>
Description:
- test-binary-all - architecture independent binary package
test-binary-any - architecture dependent binary package
Closes: 12345
Changes:
diff --git a/scripts/t/dpkg_buildpackage/test-source_0_source.changes b/scripts/t/dpkg_buildpackage/test-source_0_source.changes
index 95ea1be6a..8c2f3d1e3 100644
--- a/scripts/t/dpkg_buildpackage/test-source_0_source.changes
+++ b/scripts/t/dpkg_buildpackage/test-source_0_source.changes
@@ -1,16 +1,12 @@
Format: 1.8
Date: Thu, 30 Jun 2016 20:15:12 +0200
Source: test-source
-Binary: test-binary-all test-binary-any
Architecture: source
Version: 0
Distribution: unstable
Urgency: low
Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
Changed-By: Dpkg Developers <debian-dpkg@lists.debian.org>
-Description:
- test-binary-all - architecture independent binary package
- test-binary-any - architecture dependent binary package
Closes: 12345
Changes:
test-source (0) unstable; urgency=low