[libarray-refelem-perl] 06/08: Packaging cleanup
Christoph Biedl
debian.axhn at manchmal.in-ulm.de
Thu Dec 15 20:24:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
cbiedl-guest pushed a commit to branch master
in repository libarray-refelem-perl.
commit c6f223c6b244b96f8fee698b8330dbc58b0f484f
Author: Christoph Biedl <debian.axhn at manchmal.in-ulm.de>
Date: Thu Dec 15 19:52:43 2016 +0100
Packaging cleanup
* Use the pristine upstream tarball
* Declare compliance with policy 3.9.8
* Raise debhelper compat level to 10. Closes: #817523, #827681
* 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 | 21 ++++++++-----
debian/copyright | 39 ++++++++++++++++--------
debian/rules | 83 ++--------------------------------------------------
debian/source/format | 1 +
debian/watch | 3 ++
6 files changed, 47 insertions(+), 102 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 00abcfb..a2653df 100644
--- a/debian/control
+++ b/debian/control
@@ -1,15 +1,20 @@
Source: libarray-refelem-perl
-Section: perl
-Priority: optional
-Build-Depends: debhelper (>= 4.0.2), perl (>= 5.8.0-7)
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders:
Christoph Biedl <debian.axhn at manchmal.in-ulm.de>,
-Standards-Version: 3.6.2
+Homepage: https://metacpan.org/release/Array-RefElem
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libarray-refelem-perl.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libarray-refelem-perl.git
+Testsuite: autopkgtest-pkg-perl
+Build-Depends: debhelper (>= 10~),
+ perl,
+Priority: optional
+Section: perl
Package: libarray-refelem-perl
Architecture: any
-Depends: ${perl:Depends}, ${shlibs:Depends}
-Description: Set up array elements as aliases
- This module gives you direct access to the internal perl routines that
- let you store reference to things in arrays and hashes.
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${perl:Depends},
+Description: module to set up array elements as aliases
+ Array::RefElem gives direct access to some of the internal Perl
+ routines that let you store things in arrays and hashes.
diff --git a/debian/copyright b/debian/copyright
index c98d352..fb8deb2 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,16 +1,31 @@
-This is the debian package for the Array::RefElem module.
-It was created by Matthias Urlichs <smurf at debian.org>.
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Array-RefElem
+Upstream-Contact: Gisle Aas <gisle at ActiveState.com>
+Source: https://metacpan.org/release/Array-RefElem
-The upstream author is Gisle Aas <gisle at ActiveState.com>.
+Files: *
+Copyright: 2000 Gisle Aas <gisle at aas.no>
+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 <smurf at debian.org>
+ 2016 Christoph Biedl <debian.axhn at 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 eebd677..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:
- [ ! -d $(TMP)/usr/share/perl5 ] || 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/watch b/debian/watch
new file mode 100644
index 0000000..07b98fa
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\+ds// \
+https://metacpan.org/release/Array-RefElem .*/Array-RefElem-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/libarray-refelem-perl.git
More information about the Pkg-perl-cvs-commits
mailing list