TT#5420 Update packaging

- Bump debhelper compatibility to 9.
- Bump Standards-Version to 3.9.8.
- Bump source format to 3.0 (native).
- Wrap and sort debian/control fields.
- Move libmodule-build-perl from Build-Depends-Indep to Build-Depends.
- Update package description.
- Update copyright years.
- Use canonical debian/copyright file Format URL.
- Fix Upstrem-Contact field in debian/copyright.
- Merge Files stanzas for the same license in debian/copyright.
- Move license location in filesystem into a Comment field.
- Use proper balanced quotes in debian/copyright.
- Remove obsolete patch to declare the minimal Module::Build version,
  because that is satisfied already in oldstable (wheezy).
- Coalesce Michael Prokop's copyright into Sipwise GmbH as the correct
  holder.

Change-Id: Id03269db877bf424f257f9c2d4150d6ce5b4c801
changes/18/12518/3
Guillem Jover 9 years ago
parent dbca22d71c
commit c6eaec878f

5
.gitignore vendored

@ -0,0 +1,5 @@
/Build
/MYMETA.json
/MYMETA.yml
/_build/
/blib/

5
debian/.gitignore vendored

@ -0,0 +1,5 @@
*.log
*.substvars
/debhelper-build-stamp
/files
/libdata-hal-perl/

2
debian/compat vendored

@ -1 +1 @@
8
9

92
debian/control vendored

@ -2,53 +2,55 @@ Source: libdata-hal-perl
Section: perl
Priority: optional
Maintainer: Sipwise Development Team <support@sipwise.com>
Build-Depends: debhelper (>= 8),
perl
Build-Depends-Indep: libboolean-perl,
libclone-perl,
libdata-visitor-perl,
libfailures-perl,
libfile-slurp-perl,
libhttp-message-perl,
libjson-perl,
liblog-any-adapter-filehandle-perl,
liblog-any-adapter-perl,
liblog-any-perl,
libmime-types-perl,
libmodule-build-perl,
libmoo-perl,
libsafe-isa-perl,
libstrictures-perl,
libtest-fatal-perl,
libtype-tiny-perl,
liburi-namespacemap-perl,
liburi-perl,
liburi-template-perl,
libxml-regexp-perl
Standards-Version: 3.9.7
Build-Depends:
debhelper (>= 9),
libmodule-build-perl,
perl,
Build-Depends-Indep:
libboolean-perl,
libclone-perl,
libdata-visitor-perl,
libfailures-perl,
libfile-slurp-perl,
libhttp-message-perl,
libjson-perl,
liblog-any-adapter-filehandle-perl,
liblog-any-adapter-perl,
liblog-any-perl,
libmime-types-perl,
libmoo-perl,
libsafe-isa-perl,
libstrictures-perl,
libtest-fatal-perl,
libtype-tiny-perl,
liburi-namespacemap-perl,
liburi-perl,
liburi-template-perl,
libxml-regexp-perl,
Standards-Version: 3.9.8
Homepage: https://metacpan.org/release/Data-HAL
Package: libdata-hal-perl
Architecture: all
Depends: libboolean-perl,
libclone-perl,
libdata-visitor-perl,
libfailures-perl,
libhttp-message-perl,
libjson-perl,
liblog-any-perl,
libmime-types-perl,
libmoo-perl,
libsafe-isa-perl,
libstrictures-perl,
libtype-tiny-perl,
liburi-namespacemap-perl,
liburi-perl,
liburi-template-perl,
libxml-regexp-perl,
${misc:Depends},
${perl:Depends}
Depends:
${misc:Depends},
${perl:Depends},
libboolean-perl,
libclone-perl,
libdata-visitor-perl,
libfailures-perl,
libhttp-message-perl,
libjson-perl,
liblog-any-perl,
libmime-types-perl,
libmoo-perl,
libsafe-isa-perl,
libstrictures-perl,
libtype-tiny-perl,
liburi-namespacemap-perl,
liburi-perl,
liburi-template-perl,
libxml-regexp-perl,
Description: Hypertext Application Language resource
HAL is a format you can use in your hypermedia API.
.
This description was automagically extracted from the module by dh-make-perl.
This package provides the Data::HAL module, where HAL is a format you can
use in your hypermedia API.

20
debian/copyright vendored

@ -1,28 +1,26 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://metacpan.org/release/Data-HAL
Upstream-Contact: Lars Dɪ C<< <daxim@cpan.org> >>
Upstream-Contact: Lars Dɪ <daxim@cpan.org>
Upstream-Name: Data-HAL
Files: *
Copyright: Lars Dɪ <daxim@cpan.org>
License: Artistic or GPL-1+
Files: debian/*
Copyright: 2013, Michael Prokop <mprokop@sipwise.com>
Copyright:
Copyright © 2013 Lars Dɪ <daxim@cpan.org>
Copyright © 2013-2017 Sipwise GmbH, Austria
License: Artistic or GPL-1+
License: Artistic
This program is free software; you can redistribute it and/or modify
it under the terms of the Artistic License, which comes with Perl.
.
Comment:
On Debian systems, the complete text of the Artistic License can be
found in `/usr/share/common-licenses/Artistic'.
found in '/usr/share/common-licenses/Artistic'.
License: GPL-1+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
.
Comment:
On Debian systems, the complete text of version 1 of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-1'.
Public License can be found in '/usr/share/common-licenses/GPL-1'.

@ -1,35 +0,0 @@
Description: Module::Build 0.40 is not available in Debian/wheezy
--- a/Build.PL
+++ b/Build.PL
@@ -12,7 +12,7 @@
'Test::More' => 0,
},
configure_requires => {
- 'Module::Build' => 0.40,
+ 'Module::Build' => 0,
},
dist_version_from => 'lib/Data/HAL.pm',
dynamic_config => 0,
--- a/META.json
+++ b/META.json
@@ -33,7 +33,7 @@
},
"configure" : {
"requires" : {
- "Module::Build" : "0.4"
+ "Module::Build" : "0"
}
},
"runtime" : {
--- a/META.yml
+++ b/META.yml
@@ -12,7 +12,7 @@
Test::More: 0
strictures: 0
configure_requires:
- Module::Build: 0.4
+ Module::Build: 0
dynamic_config: 0
generated_by: 'Module::Build version 0.4007, CPAN::Meta::Converter version 2.132830'
license: perl

@ -1 +0,0 @@
build_depend_on_any_module_build_version.patch
Loading…
Cancel
Save