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

[SCM] Debian package checker branch, master, updated. 2.2.9-8-ga7a4767



The following commit has been merged in the master branch:
commit 5565bec6e65432d9ee8842cd636a6918d8cf02c2
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sat Apr 4 18:20:50 2009 -0600

    Avoid embedding the latest standards version in every control file by using the templates system and the help of post_test sed scripts.
    
    This reduces the amount of changes made every time a new standards version is
    published to only one.

diff --git a/doc/desc-files b/doc/desc-files
index 37e558e..9b454d7 100644
--- a/doc/desc-files
+++ b/doc/desc-files
@@ -42,5 +42,6 @@ Description record of a test case:
   [ Author: <maintainer for control and changelog> ]
   [ Architecture: <architecture for control> ]
   [ Section: <section for package> ]
+  [ Standard-Version: <standard version for control> ]
   [ Options: <options to pass to lintian> ]
   [ Skeleton: <skeleton to base the package on> ]
diff --git a/t/runtests b/t/runtests
index 995c506..0acf1fb 100755
--- a/t/runtests
+++ b/t/runtests
@@ -61,6 +61,7 @@ our $LINTIAN_ROOT = $ENV{'LINTIAN_ROOT'};
 our $LINTIAN = $LINTIAN_ROOT . '/frontend/lintian';
 our $DPKG_BUILDPACKAGE = 'dpkg-buildpackage -rfakeroot -us -uc -d'
     . ' -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING';
+our $STANDARDS_VERSION = '3.8.1';
 
 # --- Usage information
 
@@ -414,7 +415,7 @@ sub test_package {
 
     # Run a sed-script if it exists, for tests that have slightly variable
     # output
-    runsystem_ok("sed -i -f $origdir/post_test $RUNDIR/tags.$pkg")
+    runsystem_ok("sed -ri -f $origdir/post_test $RUNDIR/tags.$pkg")
 	if -e "$origdir/post_test";
 
     # Compare the output to the expected tags.
@@ -686,6 +687,7 @@ sub check_test_is_sane {
     $data->{author} ||= 'Debian Lintian Maintainers <lintian-maint@debian.org>';
     $data->{architecture} ||= 'all';
     $data->{section} ||= 'devel';
+    $data->{'standards_version'} ||= $STANDARDS_VERSION;
 
     $data->{'test-for'} ||= '';
     $data->{'test-against'} ||= '';
diff --git a/t/templates/pedantic/debian/control.in b/t/templates/pedantic/debian/control.in
index 0cd83d9..45df06b 100644
--- a/t/templates/pedantic/debian/control.in
+++ b/t/templates/pedantic/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 Homepage: http://lintian.debian.org/
 
diff --git a/t/templates/skel/debian/control.in b/t/templates/skel/debian/control.in
index 4a642f9..870e4a1 100644
--- a/t/templates/skel/debian/control.in
+++ b/t/templates/skel/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/README b/t/tests/README
index 03768d8..f9a6e6f 100644
--- a/t/tests/README
+++ b/t/tests/README
@@ -101,6 +101,7 @@ harness.  The following additional fields are currently supported:
     Author: <maintainer for control and changelog>
     Architecture: <architecture for control>
     Section: <section for package>
+    Standard-Version: <standard version for control>
 
 See t/runtests and t/templates/skel/{control,changelog}.in for how
 they're used.
diff --git a/t/tests/control-file-general/debian/debian/control.in b/t/tests/control-file-general/debian/debian/control.in
index 794401e..2e33cfc 100644
--- a/t/tests/control-file-general/debian/debian/control.in
+++ b/t/tests/control-file-general/debian/debian/control.in
@@ -1,7 +1,7 @@
 Source: {$srcpkg}
 Priority: extra
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 X-VCS-Svn: svn://svn.example.com/{$srcpkg}/trunk
 
diff --git a/t/tests/control-file-hardcoded-libc/debian/debian/control.in b/t/tests/control-file-hardcoded-libc/debian/debian/control.in
index 3eb468a..9767b42 100644
--- a/t/tests/control-file-hardcoded-libc/debian/debian/control.in
+++ b/t/tests/control-file-hardcoded-libc/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/control-file-pedantic-space/debian/debian/control.in b/t/tests/control-file-pedantic-space/debian/debian/control.in
index 8b96b23..a080480 100644
--- a/t/tests/control-file-pedantic-space/debian/debian/control.in
+++ b/t/tests/control-file-pedantic-space/debian/debian/control.in
@@ -2,7 +2,7 @@ Source:  {$srcpkg}
 Priority:extra
 Section:	{$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 Homepage: http://lintian.debian.org/
 
diff --git a/t/tests/control-file-suggests-itself/debian/debian/control.in b/t/tests/control-file-suggests-itself/debian/debian/control.in
index f3f1f10..b2aa344 100644
--- a/t/tests/control-file-suggests-itself/debian/debian/control.in
+++ b/t/tests/control-file-suggests-itself/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/copyright-file-doc-symlink/debian/debian/control.in b/t/tests/copyright-file-doc-symlink/debian/debian/control.in
index d8d4970..b7365e2 100644
--- a/t/tests/copyright-file-doc-symlink/debian/debian/control.in
+++ b/t/tests/copyright-file-doc-symlink/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/copyright-file-general/debian/debian/control.in b/t/tests/copyright-file-general/debian/debian/control.in
index cab518c..3b2373a 100644
--- a/t/tests/copyright-file-general/debian/debian/control.in
+++ b/t/tests/copyright-file-general/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: copyright-iso-8859-1
diff --git a/t/tests/copyright-file-license-symlink/debian/debian/control.in b/t/tests/copyright-file-license-symlink/debian/debian/control.in
index 546d665..e3bc5bb 100644
--- a/t/tests/copyright-file-license-symlink/debian/debian/control.in
+++ b/t/tests/copyright-file-license-symlink/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 Homepage: http://lintian.debian.org/
 
diff --git a/t/tests/cruft-general-quilt/debian/debian/control.in b/t/tests/cruft-general-quilt/debian/debian/control.in
index b1d1a37..f46e04b 100644
--- a/t/tests/cruft-general-quilt/debian/debian/control.in
+++ b/t/tests/cruft-general-quilt/debian/debian/control.in
@@ -3,7 +3,7 @@ Format: 3.0 (quilt)
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/cruft-general-wig-pen/debian/debian/control.in b/t/tests/cruft-general-wig-pen/debian/debian/control.in
index fb9f273..d8fa784 100644
--- a/t/tests/cruft-general-wig-pen/debian/debian/control.in
+++ b/t/tests/cruft-general-wig-pen/debian/debian/control.in
@@ -3,7 +3,7 @@ Format: 2.0
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/debhelper-arch-depends/debian/debian/control.in b/t/tests/debhelper-arch-depends/debian/debian/control.in
index 8a9822a..105b247 100644
--- a/t/tests/debhelper-arch-depends/debian/debian/control.in
+++ b/t/tests/debhelper-arch-depends/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7),
  cli-common-dev (>= 0.5.7) [i386 sparc amd64 ia64]
 
diff --git a/t/tests/debhelper-dh-clean-k-deprecated/debian/debian/control.in b/t/tests/debhelper-dh-clean-k-deprecated/debian/debian/control.in
index 3ef3f17..327fac2 100644
--- a/t/tests/debhelper-dh-clean-k-deprecated/debian/debian/control.in
+++ b/t/tests/debhelper-dh-clean-k-deprecated/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/debhelper-dh-clean-k-ok/debian/debian/control.in b/t/tests/debhelper-dh-clean-k-ok/debian/debian/control.in
index 77d8761..76b52f1 100644
--- a/t/tests/debhelper-dh-clean-k-ok/debian/debian/control.in
+++ b/t/tests/debhelper-dh-clean-k-ok/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 6)
 
 Package: {$srcpkg}
diff --git a/t/tests/debhelper-dh-depends/debian/debian/control.in b/t/tests/debhelper-dh-depends/debian/debian/control.in
index c39f693..d52ef24 100644
--- a/t/tests/debhelper-dh-depends/debian/debian/control.in
+++ b/t/tests/debhelper-dh-depends/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 5)
 
 Package: {$srcpkg}
diff --git a/t/tests/debhelper-dh-nativejava/debian/debian/control.in b/t/tests/debhelper-dh-nativejava/debian/debian/control.in
index 448f9b2..9caaac7 100644
--- a/t/tests/debhelper-dh-nativejava/debian/debian/control.in
+++ b/t/tests/debhelper-dh-nativejava/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7), default-jdk-builddep
 
 Package: {$srcpkg}
diff --git a/t/tests/debhelper-no-depends/debian/debian/control.in b/t/tests/debhelper-no-depends/debian/debian/control.in
index 0578dbf..f37527a 100644
--- a/t/tests/debhelper-no-depends/debian/debian/control.in
+++ b/t/tests/debhelper-no-depends/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 
 Package: {$srcpkg}
 Architecture: {$architecture}
diff --git a/t/tests/description-general/debian/debian/control.in b/t/tests/description-general/debian/debian/control.in
index f92fb6e..3720de1 100644
--- a/t/tests/description-general/debian/debian/control.in
+++ b/t/tests/description-general/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/description-homepage/debian/debian/control.in b/t/tests/description-homepage/debian/debian/control.in
index a7b0e12..e1dcb6a 100644
--- a/t/tests/description-homepage/debian/debian/control.in
+++ b/t/tests/description-homepage/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/description-wording/debian/debian/control.in b/t/tests/description-wording/debian/debian/control.in
index a68f933..d68403f 100644
--- a/t/tests/description-wording/debian/debian/control.in
+++ b/t/tests/description-wording/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/fields-cpan-homepage/debian/debian/control.in b/t/tests/fields-cpan-homepage/debian/debian/control.in
index 619f784..57e4b52 100644
--- a/t/tests/fields-cpan-homepage/debian/debian/control.in
+++ b/t/tests/fields-cpan-homepage/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 Homepage: http://search.cpan.org/Foo-Bar-9.0_01/
 
diff --git a/t/tests/fields-maintainer-general/debian/debian/control.in b/t/tests/fields-maintainer-general/debian/debian/control.in
index 127acd3..2c4f428 100644
--- a/t/tests/fields-maintainer-general/debian/debian/control.in
+++ b/t/tests/fields-maintainer-general/debian/debian/control.in
@@ -4,7 +4,7 @@ Section: {$section}
 Maintainer: <lintian-maint@debian.org>
 Uploaders: <lintian-maint@debian.org>, Russ Allbery <rra@debian.org>,
  Russ Allbery <rra@debian.org>
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/fields-malformed-vcs-fields/debian/debian/control.in b/t/tests/fields-malformed-vcs-fields/debian/debian/control.in
index 186f60b..6dd5039 100644
--- a/t/tests/fields-malformed-vcs-fields/debian/debian/control.in
+++ b/t/tests/fields-malformed-vcs-fields/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 Vcs-Browser: svn.debian.org/wsvn/foobar/trunk
 Vcs-Svn: svn+ssh://svn.debian.org/svn/foobar/trunk
diff --git a/t/tests/fields-module-build-allowed/debian/debian/control.in b/t/tests/fields-module-build-allowed/debian/debian/control.in
index 25ee408..90f2598 100644
--- a/t/tests/fields-module-build-allowed/debian/debian/control.in
+++ b/t/tests/fields-module-build-allowed/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7), libmodule-build-perl
 
 Package: {$srcpkg}
diff --git a/t/tests/fields-no-homepage/debian/debian/control.in b/t/tests/fields-no-homepage/debian/debian/control.in
index 3ef3f17..327fac2 100644
--- a/t/tests/fields-no-homepage/debian/debian/control.in
+++ b/t/tests/fields-no-homepage/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/fields-vcs-fields/debian/debian/control.in b/t/tests/fields-vcs-fields/debian/debian/control.in
index e696327..723f9d7 100644
--- a/t/tests/fields-vcs-fields/debian/debian/control.in
+++ b/t/tests/fields-vcs-fields/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 Vcs-Browser: https://svn.debian.org/wsvn/foobar/trunk
 Vcs-Svn: svn://svn.debian.org/svn/foobar/trunk
diff --git a/t/tests/fields-wrong-section/debian/debian/control.in b/t/tests/fields-wrong-section/debian/debian/control.in
index 79d6aba..e71e58a 100644
--- a/t/tests/fields-wrong-section/debian/debian/control.in
+++ b/t/tests/fields-wrong-section/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/files-fonts/debian/debian/control.in b/t/tests/files-fonts/debian/debian/control.in
index a85cd8d..15cef41 100644
--- a/t/tests/files-fonts/debian/debian/control.in
+++ b/t/tests/files-fonts/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 Homepage: http://lintian.debian.org/
 
diff --git a/t/tests/files-games-section/debian/debian/control.in b/t/tests/files-games-section/debian/debian/control.in
index 2cc6b50..95d4a37 100644
--- a/t/tests/files-games-section/debian/debian/control.in
+++ b/t/tests/files-games-section/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}-both
diff --git a/t/tests/generic-dh-make-2005/post_test b/t/tests/generic-dh-make-2005/post_test
new file mode 100644
index 0000000..faeef0b
--- /dev/null
+++ b/t/tests/generic-dh-make-2005/post_test
@@ -0,0 +1 @@
+s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/
diff --git a/t/tests/generic-dh-make-2005/tags b/t/tests/generic-dh-make-2005/tags
index d5955c5..4ab162e 100644
--- a/t/tests/generic-dh-make-2005/tags
+++ b/t/tests/generic-dh-make-2005/tags
@@ -3,7 +3,7 @@ E: generic-dh-make-2005: helper-templates-in-copyright
 E: generic-dh-make-2005: section-is-dh_make-template
 I: generic-dh-make-2005 source: debian-watch-file-is-missing
 I: generic-dh-make-2005: extended-description-is-probably-too-short
-W: generic-dh-make-2005 source: ancient-standards-version 3.6.2 (current is 3.8.1)
+W: generic-dh-make-2005 source: ancient-standards-version 3.6.2 (current is CURRENT)
 W: generic-dh-make-2005 source: debian-rules-ignores-make-clean-error line 47
 W: generic-dh-make-2005 source: debian-rules-sets-DH_COMPAT line 12
 W: generic-dh-make-2005 source: dh_suidregister-is-obsolete
diff --git a/t/tests/generic-dh-make-2008/post_test b/t/tests/generic-dh-make-2008/post_test
new file mode 100644
index 0000000..faeef0b
--- /dev/null
+++ b/t/tests/generic-dh-make-2008/post_test
@@ -0,0 +1 @@
+s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/
diff --git a/t/tests/generic-dh-make-2008/tags b/t/tests/generic-dh-make-2008/tags
index e21d4b4..08aa4db 100644
--- a/t/tests/generic-dh-make-2008/tags
+++ b/t/tests/generic-dh-make-2008/tags
@@ -24,7 +24,7 @@ W: generic-dh-make-2008 source: dh-make-template-in-source debian/postrm.ex
 W: generic-dh-make-2008 source: dh-make-template-in-source debian/preinst.ex
 W: generic-dh-make-2008 source: dh-make-template-in-source debian/prerm.ex
 W: generic-dh-make-2008 source: dh-make-template-in-source debian/watch.ex
-W: generic-dh-make-2008 source: out-of-date-standards-version 3.7.3 (current is 3.8.1)
+W: generic-dh-make-2008 source: out-of-date-standards-version 3.7.3 (current is CURRENT)
 W: generic-dh-make-2008 source: superfluous-clutter-in-homepage <insert the upstream URL, if relevant>
 W: generic-dh-make-2008: bad-homepage <insert the upstream URL, if relevant>
 W: generic-dh-make-2008: copyright-contains-dh_make-todo-boilerplate
diff --git a/t/tests/patch-systems-quilt-description/debian/debian/control.in b/t/tests/patch-systems-quilt-description/debian/debian/control.in
index 6cc95c9..6307a5a 100644
--- a/t/tests/patch-systems-quilt-description/debian/debian/control.in
+++ b/t/tests/patch-systems-quilt-description/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: devel
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: quilt, debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/scripts-control-interpreters/debian/debian/control.in b/t/tests/scripts-control-interpreters/debian/debian/control.in
index 5c4fb93..97af50d 100644
--- a/t/tests/scripts-control-interpreters/debian/debian/control.in
+++ b/t/tests/scripts-control-interpreters/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}-paths
diff --git a/t/tests/scripts-ocamlrun/debian/debian/control.in b/t/tests/scripts-ocamlrun/debian/debian/control.in
index b704f27..ec300aa 100644
--- a/t/tests/scripts-ocamlrun/debian/debian/control.in
+++ b/t/tests/scripts-ocamlrun/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: devel
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/shared-libs-unversioned/debian/debian/control.in b/t/tests/shared-libs-unversioned/debian/debian/control.in
index 2188659..b59e74b 100644
--- a/t/tests/shared-libs-unversioned/debian/debian/control.in
+++ b/t/tests/shared-libs-unversioned/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: libs
 Maintainer: {$author}
-Standards-Version: 3.8.1
+Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
 Package: libfoo
diff --git a/t/tests/standards-version-newer/post_test b/t/tests/standards-version-newer/post_test
new file mode 100644
index 0000000..faeef0b
--- /dev/null
+++ b/t/tests/standards-version-newer/post_test
@@ -0,0 +1 @@
+s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/
diff --git a/t/tests/standards-version-newer/tags b/t/tests/standards-version-newer/tags
index ee12ab8..a22d93f 100644
--- a/t/tests/standards-version-newer/tags
+++ b/t/tests/standards-version-newer/tags
@@ -1 +1 @@
-W: standards-version-newer source: newer-standards-version 3.9.0.0 (current is 3.8.1)
+W: standards-version-newer source: newer-standards-version 3.9.0.0 (current is CURRENT)

-- 
Debian package checker


Reply to: