r27156 - in /trunk/libjson-any-perl/debian: changelog compat control copyright rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Nov 22 17:25:27 UTC 2008


Author: gregoa
Date: Sat Nov 22 17:25:24 2008
New Revision: 27156

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27156
Log:
* debian/copyright: switch to new format.
* Set debhelper compatibility level to 7; adapt
  debian/{control,compat,rules}.

Modified:
    trunk/libjson-any-perl/debian/changelog
    trunk/libjson-any-perl/debian/compat
    trunk/libjson-any-perl/debian/control
    trunk/libjson-any-perl/debian/copyright
    trunk/libjson-any-perl/debian/rules

Modified: trunk/libjson-any-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-any-perl/debian/changelog?rev=27156&op=diff
==============================================================================
--- trunk/libjson-any-perl/debian/changelog (original)
+++ trunk/libjson-any-perl/debian/changelog Sat Nov 22 17:25:24 2008
@@ -3,6 +3,9 @@
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
     (source stanza).
   * New upstream release.
+  * debian/copyright: switch to new format.
+  * Set debhelper compatibility level to 7; adapt
+    debian/{control,compat,rules}.
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:44:08 +0100
 

Modified: trunk/libjson-any-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-any-perl/debian/compat?rev=27156&op=diff
==============================================================================
--- trunk/libjson-any-perl/debian/compat (original)
+++ trunk/libjson-any-perl/debian/compat Sat Nov 22 17:25:24 2008
@@ -1,1 +1,1 @@
-6
+7

Modified: trunk/libjson-any-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-any-perl/debian/control?rev=27156&op=diff
==============================================================================
--- trunk/libjson-any-perl/debian/control (original)
+++ trunk/libjson-any-perl/debian/control Sat Nov 22 17:25:24 2008
@@ -1,7 +1,7 @@
 Source: libjson-any-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6)
+Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: perl (>= 5.8.8-7), libjson-perl (>= 2.02),
  libyaml-syck-perl, libtest-pod-perl, libtest-pod-coverage-perl, libjson-xs-perl (>= 2.01)
 Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,

Modified: trunk/libjson-any-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-any-perl/debian/copyright?rev=27156&op=diff
==============================================================================
--- trunk/libjson-any-perl/debian/copyright (original)
+++ trunk/libjson-any-perl/debian/copyright Sat Nov 22 17:25:24 2008
@@ -1,30 +1,34 @@
-This is the debian package for the JSON-Any module.
-It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org> using dh-make-perl.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Chris Thompson, C<< <cthom at cpan.org> >>
+Upstream-Source: http://search.cpan.org/dist/JSON-Any/
+Upstream-Name: JSON-Any
 
-It was downloaded from: http://search.cpan.org/dist/JSON-Any/
+Files: *
+Copyright: 2007, Chris Thompson, <cthom at cpan.org>
+License-Alias: Perl
+License: Artistic | GPL-1+
 
-The upstream author is:  Chris Thompson, <cthom at cpan.org>.
+Files: inc/*:
+Copyright: 2002 - 2008 by Brian Ingerson, Audrey Tang and Adam Kennedy.
+License-Alias: Perl
+License: Artistic | GPL-1+
 
-Copyright 2007 Chris Thompson, all rights reserved.
+Files: debian/*
+Copyright: 2007-2008, various members of the Debian Perl Group,
+ cf. debian/changelog
+License: Artistic | GPL-1+
 
-This program is free software, you can redistribute it and/or modify it under
-the same terms as Perl itself.
+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
 
-
-inc/*:
-Copyright 2002 - 2008 by Brian Ingerson, Audrey Tang and Adam Kennedy.
- This program is free software; you can redistribute it and/or modify it under
- the same terms as Perl itself.
-
-
-Perl is distributed under licenses:
-
-    a) the GNU General Public License as published by the Free Software
-       Foundation; either version 1, or (at your option) any later
-       version, or
-
-    b) the "Artistic License" which comes with Perl.
-
-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'.
+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'

Modified: trunk/libjson-any-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-any-perl/debian/rules?rev=27156&op=diff
==============================================================================
--- trunk/libjson-any-perl/debian/rules (original)
+++ trunk/libjson-any-perl/debian/rules Sat Nov 22 17:25:24 2008
@@ -1,60 +1,24 @@
 #!/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.
-
-# 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
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
+	dh build
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
+	dh install
+	$(RM) -v debian/libjson-any-perl/usr/share/perl5/JSON/._Any.pm
 	touch $@
 
 binary-arch:
-# We have nothing to do here for an architecture-independent package
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build




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