[libconfig-model-dpkg-perl] 03/03: test copyright file with comments

dod at debian.org dod at debian.org
Tue Nov 22 20:02:09 UTC 2016


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 5e082c3f23c0628f48fb12b086201c8e51a00f9e
Author: Dominique Dumont <dod at debian.org>
Date:   Tue Nov 22 21:00:28 2016 +0100

    test copyright file with comments
---
 t/model_tests.d/dpkg-copyright-examples/by-dh-make | 34 ++++++++++++++++++++++
 t/model_tests.d/dpkg-copyright-test-conf.pl        |  6 ++++
 2 files changed, 40 insertions(+)

diff --git a/t/model_tests.d/dpkg-copyright-examples/by-dh-make b/t/model_tests.d/dpkg-copyright-examples/by-dh-make
new file mode 100644
index 0000000..3170923
--- /dev/null
+++ b/t/model_tests.d/dpkg-copyright-examples/by-dh-make
@@ -0,0 +1,34 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libugpio
+Source: <url://example.com>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+           <years> <likewise for another author>
+License: LGPL-2.0+
+
+Files: debian/*
+Copyright: 2016 Dominique Dumont <dod at debian.org>
+License: LGPL-2.0+
+
+License: LGPL-2.0+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License can be found in "/usr/share/common-licenses/LGPL-2".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid picking licenses with terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/t/model_tests.d/dpkg-copyright-test-conf.pl b/t/model_tests.d/dpkg-copyright-test-conf.pl
index 08fdbd2..6d597c7 100644
--- a/t/model_tests.d/dpkg-copyright-test-conf.pl
+++ b/t/model_tests.d/dpkg-copyright-test-conf.pl
@@ -345,6 +345,12 @@ in ‘/usr/share/common-licenses/GPL-1’.",
         },
 
     },
+    {
+        name => 'by-dh-make',
+        load_check => 'skip',
+#        load_warnings => [ (qr/deprecated/) x 3 ],
+
+    },
 );
 
 1;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



More information about the Pkg-perl-cvs-commits mailing list