This is an automated email from the git hooks/post-receive script.

cbiedl-guest pushed a commit to branch master
in repository libdata-dumpxml-perl.

commit b2645fa4732672f2f9dca5a5b0381177b7aedf11
Author: Christoph Biedl <debian.a...@manchmal.in-ulm.de>
Date:   Fri Dec 16 23:44:45 2016 +0100

    Packaging cleanup
    
    * Declare compliance with policy 3.9.8
    * Raise debhelper compat level to 10. Closes: #817596
    * Build Architecture: all package. Closes: #465981
    * Use dh7-style debian/rules
    * Declare source format
    * Update package description
    * Re-write debian/copyright in format 1.0
    * Add watch file
---
 debian/compat                  |  2 +-
 debian/control                 | 32 +++++++++-------
 debian/copyright               | 39 ++++++++++++++------
 debian/rules                   | 83 +-----------------------------------------
 debian/source/format           |  1 +
 debian/tests/pkg-perl/use-name |  1 +
 debian/watch                   |  2 +
 7 files changed, 53 insertions(+), 107 deletions(-)

diff --git a/debian/compat b/debian/compat
index b8626c4..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-4
+10
diff --git a/debian/control b/debian/control
index 32309b0..3022b4b 100644
--- a/debian/control
+++ b/debian/control
@@ -1,19 +1,25 @@
 Source: libdata-dumpxml-perl
-Section: perl
-Priority: optional
-Build-Depends: debhelper (>= 4.0.2), perl (>= 5.8.0-7), libarray-refelem-perl, 
libxml-parser-perl
 Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
 Uploaders:
     Christoph Biedl <debian.a...@manchmal.in-ulm.de>,
-Standards-Version: 3.6.2
+Homepage: https://metacpan.org/release/Data-DumpXML
+Standards-Version: 3.9.8
+Vcs-Browser: 
https://anonscm.debian.org/cgit/pkg-perl/packages/libdata-dumpxml-perl.git
+Vcs-Git: 
https://anonscm.debian.org/git/pkg-perl/packages/libdata-dumpxml-perl.git
+Testsuite: autopkgtest-pkg-perl
+Build-Depends: debhelper (>= 10~),
+    libarray-refelem-perl,
+    libxml-parser-perl,
+Priority: optional
+Section: perl
 
 Package: libdata-dumpxml-perl
-Architecture: any
-Depends: ${perl:Depends}, ${shlibs:Depends}, libarray-refelem-perl, 
libxml-parser-perl
-Description:  Dump arbitrary perl data structures as XML and restore them
- This module provides a single function called dump_xml() that takes a
- list of Perl values as its argument and produces a string as its result.
- .
- The string returned is an XML document that represents any Perl data
- structures passed to the function.  Reference loops are handled
- correctly.
+Architecture: all
+Depends: ${misc:Depends}, ${perl:Depends},
+    libarray-refelem-perl,
+    libxml-parser-perl,
+Description: module to dump arbitrary Perl data structures as XML
+ Data::DumpXML provides a single function called dump_xml() that takes
+ a list of Perl values as its argument and produces a string as its
+ result. That string is an XML document that represents any Perl data
+ structures passed to the function.
diff --git a/debian/copyright b/debian/copyright
index 4cc84ba..b036211 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,16 +1,31 @@
-This is the debian package for the Data::DumpXML  module.
-It was created by Matthias Urlichs <sm...@debian.org>.
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Data-DumpXML
+Upstream-Contact: Gisle Aas <gi...@activestate.com>
+Source: https://metacpan.org/release/Data-DumpXML
 
-The upstream author is Gisle Aas <gi...@activestate.com>.
+Files: *
+Copyright: 2000-2003 Gisle Aas.
+License: Artistic or GPL-1+
 
-The README file states:
-       This library is free software; you can redistribute it and/or
-       modify it under the same terms as Perl itself.
+Files:
+ debian/*
+Copyright:
+ 2004 Matthias Urlichs <sm...@debian.org>
+ 2016 Christoph Biedl <debian.a...@manchmal.in-ulm.de>
+License: Artistic or GPL-1+
 
-As of this writing, Perl is available under either the Artistic or GPL
-license.
-
-On Debian GNU/Linux systems, the complete text of the GNU General
-Public License can be found in '/usr/share/common-licenses/GPL',
-and the Artistic License in  '/usr/share/common-licenses/Artistic'.
+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.
+ .
+ On Debian systems, the complete text of the Artistic License can be
+ 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.
+ .
+ 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'.
diff --git a/debian/rules b/debian/rules
index a3b0b57..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,83 +1,4 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
-
-build: build-stamp
-build-stamp:
-       dh_testdir
-
-       $(PERL) Makefile.PL INSTALLDIRS=vendor
-       $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-
-       touch build-stamp
-
-clean:
-       dh_testdir
-       dh_testroot
-
-       -$(MAKE) realclean
-
-       dh_clean build-stamp install-stamp
-
-install: install-stamp
-install-stamp:
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-
-       $(MAKE) test
-       $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-       
-       # As this is a architecture dependent package, we are not supposed to 
install
-       # stuff to /usr/share/perl5. MakeMaker creates the dirs, we delete them 
from 
-       # the deb:
-       rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
-       
-       touch install-stamp
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installdocs README
-       dh_installchangelogs Changes
-       dh_link
-       dh_strip
-       dh_compress
-       dh_fixperms
-       dh_makeshlibs
-       dh_installdeb
-       dh_perl 
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+       dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/pkg-perl/use-name b/debian/tests/pkg-perl/use-name
new file mode 100644
index 0000000..594ecd5
--- /dev/null
+++ b/debian/tests/pkg-perl/use-name
@@ -0,0 +1 @@
+Data::DumpXML
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..fd07c63
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://metacpan.org/release/Data-DumpXML  
.*/Data-DumpXML-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdata-dumpxml-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

Reply via email to