r24524 - in /trunk/libdbd-pg-perl/debian: changelog compat control copyright libdbd-pg-perl.docs rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Aug 23 17:21:26 UTC 2008


Author: gregoa
Date: Sat Aug 23 17:21:17 2008
New Revision: 24524

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

Added:
    trunk/libdbd-pg-perl/debian/libdbd-pg-perl.docs
Modified:
    trunk/libdbd-pg-perl/debian/changelog
    trunk/libdbd-pg-perl/debian/compat
    trunk/libdbd-pg-perl/debian/control
    trunk/libdbd-pg-perl/debian/copyright
    trunk/libdbd-pg-perl/debian/rules

Modified: trunk/libdbd-pg-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/debian/changelog?rev=24524&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/debian/changelog (original)
+++ trunk/libdbd-pg-perl/debian/changelog Sat Aug 23 17:21:17 2008
@@ -1,6 +1,9 @@
 libdbd-pg-perl (2.9.2-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Set debhelper compatibility level to 7; adapt
+    debian/{control,compat,rules}.
+  * debian/copyright: switch to new format.
 
  -- gregor herrmann <gregoa at debian.org>  Sat, 23 Aug 2008 14:02:56 -0300
 

Modified: trunk/libdbd-pg-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/debian/compat?rev=24524&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/debian/compat (original)
+++ trunk/libdbd-pg-perl/debian/compat Sat Aug 23 17:21:17 2008
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libdbd-pg-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/debian/control?rev=24524&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/debian/control (original)
+++ trunk/libdbd-pg-perl/debian/control Sat Aug 23 17:21:17 2008
@@ -12,7 +12,7 @@
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdbd-pg-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/
 Homepage: http://search.cpan.org/dist/DBD-Pg/
-Build-Depends: perl (>= 5.8.0), debhelper (>= 5), libdbi-perl (>= 1.45),
+Build-Depends: perl (>= 5.8.0), debhelper (>= 7), libdbi-perl (>= 1.45),
  libpq-dev (>= 8.0), perl-modules (>= 5.10) | libversion-perl,
  libtest-yaml-meta-perl, libperl-critic-perl, libtest-pod-perl,
  libtest-pod-coverage-perl

Modified: trunk/libdbd-pg-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/debian/copyright?rev=24524&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/debian/copyright (original)
+++ trunk/libdbd-pg-perl/debian/copyright Sat Aug 23 17:21:17 2008
@@ -1,20 +1,33 @@
-This package was debianized by Raphaël Hertzog <hertzog at debian.org> on
-Mon, 13 Sep 1999 22:56:53 +0200.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Greg Sabino Mullane <greg at turnstep.com>
+Upstream-Source: http://search.cpan.org/dist/DBD-Pg/
+Upstream-Name: DBD-Pg
 
-It was downloaded from: http://search.cpan.org/dist/DBD-Pg/
+Files: *
+Copyright: (c) 2002-2008 Greg Sabino Mullane and others,
+ Portions Copyright (c) 2002 Jeffrey W. Baker,
+ Portions Copyright (c) 1997-2001 Edmund Mergl,
+ Portions Copyright (c) 1994-1997 Tim Bunce
+License-Alias: Perl
+License: Artistic | GPL-1+
 
-Copyright:
+Files: debian/*
+Copyright: 1998, Tom Lear <tom at trap.mountain-view.ca.us>,
+ 1999-2007, Raphael Hertzog <hertzog at debian.org>,
+ 2007-2008, several members of the Debian Perl Group, cf. debian/changelog
+License: Artistic | GPL-1+
 
-Copyright (c) 2002-2008 Greg Sabino Mullane and others
-Portions Copyright (c) 2002 Jeffrey W. Baker
-Portions Copyright (c) 1997-2001 Edmund Mergl
-Portions Copyright (c) 1994-1997 Tim Bunce
+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
 
-You may distribute under the terms of either the GNU General Public
-License or the Artistic License, as specified in the Perl README file.
-
-Check the perl license in /usr/share/doc/perl/copyright.
-
-You can also read the General Public License and the Artistic License
-in /usr/share/common-licenses/GPL and /usr/share/common-licenses/Artistic
-respectively.
+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'

Added: trunk/libdbd-pg-perl/debian/libdbd-pg-perl.docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/debian/libdbd-pg-perl.docs?rev=24524&op=file
==============================================================================
--- trunk/libdbd-pg-perl/debian/libdbd-pg-perl.docs (added)
+++ trunk/libdbd-pg-perl/debian/libdbd-pg-perl.docs Sat Aug 23 17:21:17 2008
@@ -1,0 +1,3 @@
+README
+README.dev
+TODO

Modified: trunk/libdbd-pg-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-pg-perl/debian/rules?rev=24524&op=diff
==============================================================================
--- trunk/libdbd-pg-perl/debian/rules (original)
+++ trunk/libdbd-pg-perl/debian/rules Sat Aug 23 17:21:17 2008
@@ -1,78 +1,29 @@
 #!/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)
 
 PG_INCLUDEDIR = $(shell pg_config --includedir)
 PG_LIBDIR = $(shell pg_config --libdir)
-
-# Allow disabling build optimisation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
 
 export POSTGRES_INCLUDE=$(PG_INCLUDEDIR)
 export POSTGRES_LIB=$(PG_LIBDIR)
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	TEST_CRITIC=1 $(MAKE) test
+	TEST_CRITIC=1 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/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-
+	dh install
 	touch $@
 
-binary-indep: build install
+binary-arch: install
+	dh $@
 
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_shlibdeps
-	dh_strip
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep:
 
-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