This is an automated email from the git hooks/post-receive script. dod pushed a commit to branch master in repository libconfig-model-dpkg-perl.
commit e4a7c2537cd5f672cae4d55b9648831837c86412 Author: Dominique Dumont <d...@debian.org> Date: Tue Sep 29 12:58:03 2015 +0200 test BSD3 license fix --- t/model_tests.d/dpkg-copyright-examples/warn-BSD | 31 ++++++++++++++++++++++++ t/model_tests.d/dpkg-copyright-test-conf.pl | 14 +++++++++++ 2 files changed, 45 insertions(+) diff --git a/t/model_tests.d/dpkg-copyright-examples/warn-BSD b/t/model_tests.d/dpkg-copyright-examples/warn-BSD new file mode 100644 index 0000000..52665c0 --- /dev/null +++ b/t/model_tests.d/dpkg-copyright-examples/warn-BSD @@ -0,0 +1,31 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: none +License: BSD-2 + +Files: a/* +Copyright: none +License: BSD-like + +Files: b/* +Copyright: none +License: BSD3 + +Files: c/* +Copyright: none +License: BSD3 + +Files: a/* +Copyright: none +License: my-BSD-3 + yada + +License: BSD-2 + yada + +License: BSD3 + yada + +License: BSD-like + yada diff --git a/t/model_tests.d/dpkg-copyright-test-conf.pl b/t/model_tests.d/dpkg-copyright-test-conf.pl index ba2e7ec..415d9f1 100644 --- a/t/model_tests.d/dpkg-copyright-test-conf.pl +++ b/t/model_tests.d/dpkg-copyright-test-conf.pl @@ -299,6 +299,20 @@ in ‘/usr/share/common-licenses/GPL-1’.", 'Files:"a/*" License short_name' => 'MITA', } }, + { # Debian bug #797322 + name => 'warn-BSD', + load_warnings => [ (qr/Please use BSD-x-clause/) x 3 ], + apply_fix => 1, + check => { + 'Files:"*" License short_name' => 'BSD-2-clause', + 'Files:"a/*" License short_name' => 'my-BSD-3', + 'Files:"b/*" License short_name' => 'BSD-3-clause', + 'Files:"c/*" License short_name' => 'BSD-3-clause', + 'License:BSD-2-clause text' => 'yada', + 'License:BSD-3-clause text' => 'yada', + 'License:BSD-like text' => 'yada', + } + }, ); 1; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits