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

[SCM] Debian package checker branch, master, updated. 2.3.4-85-gf00eacc



The following commit has been merged in the master branch:
commit f00eacc90c44b6012d18404bf5ca7ee3702fe985
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Sat Apr 3 19:46:51 2010 +0100

    Add a test case for copyright-file-lacks-pointer-to-perl-license

diff --git a/t/tests/copyright-file-general/debian/debian/control.in b/t/tests/copyright-file-general/debian/debian/control.in
index dd1554e..6c389d5 100644
--- a/t/tests/copyright-file-general/debian/debian/control.in
+++ b/t/tests/copyright-file-general/debian/debian/control.in
@@ -149,3 +149,15 @@ Description: checks a valid versionless GPL reference
  Lintian.  It is part of the Lintian test suite and may do very odd
  things.  It should not be installed like a regular package.  It may
  be an empty package.
+
+Package: copyright-missing-perl-license-pointer
+Architecture: all
+Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
+Description: checks for perl packages not pointing to common-licenses
+ Packages under the "same terms as Perl itself" should reference a
+ license in common-licenses.
+ .
+ This is a test package designed to exercise some feature or tag of
+ Lintian.  It is part of the Lintian 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/t/tests/copyright-file-general/debian/debian/copyright-missing-perl-license-pointer.copyright b/t/tests/copyright-file-general/debian/debian/copyright-missing-perl-license-pointer.copyright
new file mode 100644
index 0000000..97f8cda
--- /dev/null
+++ b/t/tests/copyright-file-general/debian/debian/copyright-missing-perl-license-pointer.copyright
@@ -0,0 +1,5 @@
+This copyright file is for libmythical-perl.  The module is licenses under
+the same terms as Perl itself but we've forgotten to add a reference to the
+copy of the Perl license in common-licenses.
+
+Copyright 2010 The Mythical Perl Module Team
diff --git a/t/tests/copyright-file-general/desc b/t/tests/copyright-file-general/desc
index 604d9c8..9e8e74e 100644
--- a/t/tests/copyright-file-general/desc
+++ b/t/tests/copyright-file-general/desc
@@ -10,6 +10,7 @@ Test-For:
  copyright-file-contains-full-gfdl-license
  copyright-file-contains-full-gpl-license
  copyright-file-is-symlink
+ copyright-file-lacks-pointer-to-perl-license
  copyright-has-url-from-dh_make-boilerplate
  copyright-refers-to-bad-php-license
  copyright-refers-to-compressed-license
diff --git a/t/tests/copyright-file-general/tags b/t/tests/copyright-file-general/tags
index c951c39..0e5e5e4 100644
--- a/t/tests/copyright-file-general/tags
+++ b/t/tests/copyright-file-general/tags
@@ -7,6 +7,7 @@ E: copyright-full-gpl: copyright-should-refer-to-common-license-file-for-gpl
 E: copyright-misc-errors: copyright-refers-to-compressed-license usr/share/common-licenses/BSD.gz
 E: copyright-misc-errors: copyright-refers-to-incorrect-directory usr/share/common-licences
 E: copyright-misc-errors: copyright-refers-to-old-directory
+E: copyright-missing-perl-license-pointer: copyright-file-lacks-pointer-to-perl-license
 E: copyright-old-style: FSSTND-dir-in-usr usr/doc/
 E: copyright-old-style: old-style-copyright-file
 E: copyright-php: copyright-refers-to-bad-php-license

-- 
Debian package checker


Reply to: