[lintian] 02/03: Fix legacy-binary with newer dpkg
This is an automated email from the git hooks/post-receive script.
broucaries-guest pushed a commit to branch master
in repository lintian.
commit 26ef0711d2efaeefae0109cc7248ad918e291e47
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date: Tue Nov 8 11:36:12 2016 +0100
Fix legacy-binary with newer dpkg
Newer dpkg will emit some message with ${source-Version}. Remove for legacy testsuite
Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
---
t/tests/legacy-binary/debian/debian/control | 4 ++--
t/tests/legacy-binary/tags | 3 ---
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/t/tests/legacy-binary/debian/debian/control b/t/tests/legacy-binary/debian/debian/control
index 03cc317..3debc9f 100644
--- a/t/tests/legacy-binary/debian/debian/control
+++ b/t/tests/legacy-binary/debian/debian/control
@@ -11,7 +11,7 @@ XS-Dm-Upload-Allowed: yes
Package: binary
Architecture: any
-Pre-Depends: ${shlibs:Depends}, xorg, binary-data (= ${Source-Version}), libssl0.9.8
+Pre-Depends: ${shlibs:Depends}, xorg, binary-data (= ${source:Version}), libssl0.9.8
Homepage: <http://lintian.debian.org/>
Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk
Description: test handling of binary files
@@ -25,7 +25,7 @@ Description: test handling of binary files
Package: binary-data
Architecture: all
-Depends: binary (= ${Source-Version}), libssl-not-openssl,
+Depends: binary (= ${source:Version}), libssl-not-openssl,
libssl0.9.8 | or-something-else
Description: test handling of binary relationships
Regression test for lintian's checking of package relationships between
diff --git a/t/tests/legacy-binary/tags b/t/tests/legacy-binary/tags
index ab6edbb..d5dc3d5 100644
--- a/t/tests/legacy-binary/tags
+++ b/t/tests/legacy-binary/tags
@@ -1,6 +1,5 @@
E: binary source: debian-rules-missing-required-target binary-indep
E: binary source: not-binnmuable-all-depends-any binary-data -> binary
-E: binary source: not-binnmuable-any-depends-all binary -> binary-data
E: binary: changelog-file-not-compressed changelog
E: binary: debian-changelog-file-missing-or-wrong-name
E: binary: debian-copyright-file-uses-obsolete-national-encoding at line 13
@@ -70,8 +69,6 @@ W: binary source: intra-source-package-circular-dependency binary binary-data
W: binary source: maintainer-upload-has-incorrect-version-number 4-1.1
W: binary source: native-package-with-dash-version
W: binary source: package-would-benefit-from-build-arch-targets
-W: binary source: substvar-source-version-is-deprecated binary
-W: binary source: substvar-source-version-is-deprecated binary-data
W: binary-data: control-file-is-empty md5sums
W: binary-data: empty-binary-package
W: binary: binary-without-manpage usr/bin/hello
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: