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

12
debian/control vendored

@ -2,7 +2,8 @@ Source: ngcp-schema
Section: perl
Priority: extra
Maintainer: Sipwise Development Team <support@sipwise.com>
Build-Depends: debhelper (>= 8),
Build-Depends:
debhelper (>= 9),
libaliased-perl,
libcarp-fix-1-25-perl,
libdata-serializer-perl,
@ -44,12 +45,13 @@ Build-Depends: debhelper (>= 8),
libxml-simpleobject-libxml-perl,
libxml-simpleobject-perl,
perl-doc,
Standards-Version: 3.9.7
Homepage: http://sipwise.com/
Standards-Version: 3.9.8
Homepage: https://www.sipwise.com/
Package: ngcp-schema
Architecture: all
Depends: libaliased-perl,
Depends:
libaliased-perl,
libcarp-fix-1-25-perl,
libdata-serializer-perl,
libdatetime-format-mysql-perl,
@ -90,6 +92,6 @@ Depends: libaliased-perl,
libxml-simpleobject-perl,
perl-doc,
${misc:Depends},
${perl: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