r29419 - in /trunk/libtest-perl-critic-perl/debian: changelog compat control copyright rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Wed Jan 7 15:48:32 UTC 2009


Author: gregoa
Date: Wed Jan  7 15:48:29 2009
New Revision: 29419

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=29419
Log:
* Set debhelper compatibility level to 7; adapt
  debian/{control,compat,rules}.
* debian/copyright: switch to new format.
* Add perl-modules (>= 5.10) as an alternative build dependency to
  libmodule-build-perl.

Modified:
    trunk/libtest-perl-critic-perl/debian/changelog
    trunk/libtest-perl-critic-perl/debian/compat
    trunk/libtest-perl-critic-perl/debian/control
    trunk/libtest-perl-critic-perl/debian/copyright
    trunk/libtest-perl-critic-perl/debian/rules

Modified: trunk/libtest-perl-critic-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-perl-critic-perl/debian/changelog?rev=29419&op=diff
==============================================================================
--- trunk/libtest-perl-critic-perl/debian/changelog (original)
+++ trunk/libtest-perl-critic-perl/debian/changelog Wed Jan  7 15:48:29 2009
@@ -16,6 +16,11 @@
   [ gregor herrmann ]
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
     (source stanza).
+  * Set debhelper compatibility level to 7; adapt
+    debian/{control,compat,rules}.
+  * debian/copyright: switch to new format.
+  * Add perl-modules (>= 5.10) as an alternative build dependency to
+    libmodule-build-perl.
 
  -- David Paleino <d.paleino at gmail.com>  Tue, 06 Jan 2009 23:41:30 +0100
 

Modified: trunk/libtest-perl-critic-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-perl-critic-perl/debian/compat?rev=29419&op=diff
==============================================================================
--- trunk/libtest-perl-critic-perl/debian/compat (original)
+++ trunk/libtest-perl-critic-perl/debian/compat Wed Jan  7 15:48:29 2009
@@ -1,1 +1,1 @@
-6
+7

Modified: trunk/libtest-perl-critic-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-perl-critic-perl/debian/control?rev=29419&op=diff
==============================================================================
--- trunk/libtest-perl-critic-perl/debian/control (original)
+++ trunk/libtest-perl-critic-perl/debian/control Wed Jan  7 15:48:29 2009
@@ -1,7 +1,7 @@
 Source: libtest-perl-critic-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6.0.7~), libmodule-build-perl
+Build-Depends: debhelper (>= 7), perl-modules (>= 5.10) | libmodule-build-perl
 Build-Depends-Indep: perl (>= 5.8.8-12), libperl-critic-perl (>= 0.21)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jaldhar H. Vyas <jaldhar at debian.org>

Modified: trunk/libtest-perl-critic-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-perl-critic-perl/debian/copyright?rev=29419&op=diff
==============================================================================
--- trunk/libtest-perl-critic-perl/debian/copyright (original)
+++ trunk/libtest-perl-critic-perl/debian/copyright Wed Jan  7 15:48:29 2009
@@ -1,26 +1,29 @@
-This is the debian package for the Test-Perl-Critic module.
-It was created by David Paleino <d.paleino at gmail.com> using dh-make-perl.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Jeffrey Ryan Thalhammer <thaljef at cpan.org>
+Upstream-Source: http://search.cpan.org/dist/Test-Perl-Critic/
+Upstream-Name: Test-Perl-Critic
 
-It was downloaded from http://search.cpan.org/dist/Test-Perl-Critic/
+Files: *
+Copyright: 2005-2006, Jeffrey Ryan Thalhammer <thaljef at cpan.org>
+License-Alias: Perl
+License: GPL-1+ | Artistic
 
-This copyright info was automatically extracted from the perl module.
-It may not be accurate, so you better check the module sources
-if don't want to get into legal troubles.
+Files: debian/*
+Copyright: 2007-2009, various members of the Debian Perl Group,
+ cf. debian/changelog
+License: GPL-1+ | Artistic
 
-The upstream author is: Jeffrey Thalhammer <thaljef at cpan.org>.
+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 GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'
 
-
-Copyright (c) 2005-2006 Jeffrey Ryan Thalhammer.  All rights reserved.
-
-This program is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.  The full text of this license
-can be found in the LICENSE file included with this module.
-
-Perl is distributed under your choice of the GNU General Public License or
-the Artistic 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 Licence in `/usr/share/common-licenses/Artistic'.
-
-
-The Debian packaging is Copyright (C) 2007, David Paleino <d.paleino at gmail.com>
-and is licensed under the same terms as the software itself (see above).
+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 GNU/Linux systems, the complete text of the Artistic License
+    can be found in `/usr/share/common-licenses/Artistic'

Modified: trunk/libtest-perl-critic-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-perl-critic-perl/debian/rules?rev=29419&op=diff
==============================================================================
--- trunk/libtest-perl-critic-perl/debian/rules (original)
+++ trunk/libtest-perl-critic-perl/debian/rules Wed Jan  7 15:48:29 2009
@@ -1,78 +1,23 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
-
-# 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)
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-
-	# Add commands to compile the package here
-	$(PERL) Build.PL installdirs=vendor
-	$(PERL) Build
-	$(PERL) Build test
-
+	dh build
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-
-	# Add commands to clean up after the build process here
-	[ ! -f Build ] || $(PERL) Build distclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(PERL) Build install destdir=$(TMP) create_packlist=0
-
+	dh install
 	touch $@
 
 binary-arch:
-# We have nothing to do here for an architecture-independent package
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installexamples
-	dh_installchangelogs Changes
-	dh_perl
-	dh_lintian
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary: binary-arch binary-indep
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: binary binary-arch binary-indep install clean build




More information about the Pkg-perl-cvs-commits mailing list