TT#5420 Update packaging

- Use canonical homepage URL.
- 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.
- Update copyright years.
- Add missing #DEBHELPER# tokens to maintscripts.
- Use correct balanced quotes in error message.

Change-Id: Iad1ea6e2fc6181f7cc3bca7c50b7b1b12a6a4d5c
changes/17/12517/1
Guillem Jover 8 years ago
parent 2ef47d963e
commit 53a1dea841

5
.gitignore vendored

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

5
debian/.gitignore vendored

@ -0,0 +1,5 @@
*.log
*.substvars
/debhelper-build-stamp
/files
/ngcp-schema/

2
debian/compat vendored

@ -1 +1 @@
8
9

174
debian/control vendored

@ -2,94 +2,96 @@ Source: ngcp-schema
Section: perl
Priority: extra
Maintainer: Sipwise Development Team <support@sipwise.com>
Build-Depends: debhelper (>= 8),
libaliased-perl,
libcarp-fix-1-25-perl,
libdata-serializer-perl,
libdatetime-format-mysql-perl,
libdbd-mysql-perl,
libdbix-class-encodedcolumn-perl,
libdbix-class-helpers-perl,
libdbix-class-schema-loader-perl,
libfile-path-expand-perl,
libfile-path-tiny-perl,
libfile-sharedir-perl,
libgetopt-long-descriptive-perl,
libgtk2-gladexml-simple-perl,
libhash-storediterator-perl,
liblog-log4perl-perl,
libmodule-build-perl,
libmoosex-classattribute-perl,
libmoosex-method-signatures-perl,
libmoosex-nonmoose-perl,
libmoosex-singleton-perl,
libmoosex-types-path-class-perl,
libnamespace-sweep-perl,
libparse-debianchangelog-perl,
libperl5i-perl,
libquantum-superpositions-perl,
libregexp-common-email-address-perl,
libregexp-common-net-cidr-perl,
libregexp-common-perl,
libregexp-common-time-perl,
libregexp-ipv6-perl,
libsipwise-base-perl (>= 1.004),
libstrictures-perl,
libtemplate-plugin-xml-perl,
libtest-fatal-perl,
libtest-xml-simple-perl,
libthrowable-perl,
libxml-libxml-simple-perl,
libxml-simple-perl,
libxml-simpleobject-libxml-perl,
libxml-simpleobject-perl,
perl-doc,
Standards-Version: 3.9.7
Homepage: http://sipwise.com/
Build-Depends:
debhelper (>= 9),
libaliased-perl,
libcarp-fix-1-25-perl,
libdata-serializer-perl,
libdatetime-format-mysql-perl,
libdbd-mysql-perl,
libdbix-class-encodedcolumn-perl,
libdbix-class-helpers-perl,
libdbix-class-schema-loader-perl,
libfile-path-expand-perl,
libfile-path-tiny-perl,
libfile-sharedir-perl,
libgetopt-long-descriptive-perl,
libgtk2-gladexml-simple-perl,
libhash-storediterator-perl,
liblog-log4perl-perl,
libmodule-build-perl,
libmoosex-classattribute-perl,
libmoosex-method-signatures-perl,
libmoosex-nonmoose-perl,
libmoosex-singleton-perl,
libmoosex-types-path-class-perl,
libnamespace-sweep-perl,
libparse-debianchangelog-perl,
libperl5i-perl,
libquantum-superpositions-perl,
libregexp-common-email-address-perl,
libregexp-common-net-cidr-perl,
libregexp-common-perl,
libregexp-common-time-perl,
libregexp-ipv6-perl,
libsipwise-base-perl (>= 1.004),
libstrictures-perl,
libtemplate-plugin-xml-perl,
libtest-fatal-perl,
libtest-xml-simple-perl,
libthrowable-perl,
libxml-libxml-simple-perl,
libxml-simple-perl,
libxml-simpleobject-libxml-perl,
libxml-simpleobject-perl,
perl-doc,
Standards-Version: 3.9.8
Homepage: https://www.sipwise.com/
Package: ngcp-schema
Architecture: all
Depends: libaliased-perl,
libcarp-fix-1-25-perl,
libdata-serializer-perl,
libdatetime-format-mysql-perl,
libdbd-mysql-perl,
libdbix-class-encodedcolumn-perl,
libdbix-class-helpers-perl (>= 2.018003),
libdbix-class-schema-loader-perl,
libfile-path-expand-perl,
libfile-path-tiny-perl,
libfile-sharedir-perl,
libgetopt-long-descriptive-perl,
libgtk2-gladexml-simple-perl,
libhash-storediterator-perl,
liblog-log4perl-perl,
libmoosex-classattribute-perl,
libmoosex-method-signatures-perl,
libmoosex-nonmoose-perl,
libmoosex-singleton-perl,
libmoosex-types-path-class-perl,
libnamespace-sweep-perl,
libparse-debianchangelog-perl,
libperl5i-perl,
libquantum-superpositions-perl,
libregexp-common-email-address-perl,
libregexp-common-net-cidr-perl,
libregexp-common-perl,
libregexp-common-time-perl,
libregexp-ipv6-perl,
libsipwise-base-perl (>= 1.004),
libstrictures-perl,
libtemplate-plugin-xml-perl,
libtest-fatal-perl,
libtest-xml-simple-perl,
libthrowable-perl,
libxml-libxml-simple-perl,
libxml-simple-perl,
libxml-simpleobject-libxml-perl,
libxml-simpleobject-perl,
perl-doc,
${misc:Depends},
${perl:Depends}
Depends:
libaliased-perl,
libcarp-fix-1-25-perl,
libdata-serializer-perl,
libdatetime-format-mysql-perl,
libdbd-mysql-perl,
libdbix-class-encodedcolumn-perl,
libdbix-class-helpers-perl (>= 2.018003),
libdbix-class-schema-loader-perl,
libfile-path-expand-perl,
libfile-path-tiny-perl,
libfile-sharedir-perl,
libgetopt-long-descriptive-perl,
libgtk2-gladexml-simple-perl,
libhash-storediterator-perl,
liblog-log4perl-perl,
libmoosex-classattribute-perl,
libmoosex-method-signatures-perl,
libmoosex-nonmoose-perl,
libmoosex-singleton-perl,
libmoosex-types-path-class-perl,
libnamespace-sweep-perl,
libparse-debianchangelog-perl,
libperl5i-perl,
libquantum-superpositions-perl,
libregexp-common-email-address-perl,
libregexp-common-net-cidr-perl,
libregexp-common-perl,
libregexp-common-time-perl,
libregexp-ipv6-perl,
libsipwise-base-perl (>= 1.004),
libstrictures-perl,
libtemplate-plugin-xml-perl,
libtest-fatal-perl,
libtest-xml-simple-perl,
libthrowable-perl,
libxml-libxml-simple-perl,
libxml-simple-perl,
libxml-simpleobject-libxml-perl,
libxml-simpleobject-perl,
perl-doc,
${misc:Depends},
${perl:Depends},
Description: DBIC-derived ORM schema classes
This package provides schema classes for the NGCP databases.

2
debian/copyright vendored

@ -4,7 +4,7 @@ Upstream-Contact: Sipwise Development Team <support@sipwise.com>
Files: *
Copyright:
Copyright © 2007-2015 Sipwise GmbH, Austria
Copyright © 2007-2017 Sipwise GmbH, Austria
License: GPL-3+
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

@ -45,9 +45,11 @@ case "$1" in
;;
*)
echo "postinst of ngcp-schema called with unknown argument \`$1'" >&2
echo "postinst of ngcp-schema called with unknown argument '$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

@ -40,4 +40,6 @@ if [ "$1" = "remove" ]; then
do_reload
fi
#DEBHELPER#
exit 0

@ -0,0 +1 @@
3.0 (native)
Loading…
Cancel
Save