r53292 - in /trunk/pmtools/debian: changelog control copyright pmtools.docs postinst rules

abe at users.alioth.debian.org abe at users.alioth.debian.org
Wed Feb 24 00:29:42 UTC 2010


Author: abe
Date: Wed Feb 24 00:29:23 2010
New Revision: 53292

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53292
Log:
Update d/rules + d/copyright to new formats with dh-make-perl --refresh; remove obsolete postinst; add pmtools.docs

Added:
    trunk/pmtools/debian/pmtools.docs
Removed:
    trunk/pmtools/debian/postinst
Modified:
    trunk/pmtools/debian/changelog
    trunk/pmtools/debian/control
    trunk/pmtools/debian/copyright
    trunk/pmtools/debian/rules

Modified: trunk/pmtools/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/pmtools/debian/changelog?rev=53292&op=diff
==============================================================================
--- trunk/pmtools/debian/changelog (original)
+++ trunk/pmtools/debian/changelog Wed Feb 24 00:29:23 2010
@@ -10,18 +10,16 @@
   * Added a watch file to point to new upstream URL at CPAN
   * Bumped Standards-Version to 3.8.4
     - Changed dependency on perl5 to perl.
-  * Bumped debhelper compatibility to 7
-    - Replaced dh_clean -k by dh_prep
-    - Replaced dh_installmanpages by dh_installman
-    - Removed already commented out dh_undocumented
-  * Fixed the following Lintian warnings
+  * Used dh-make-perl to refresh debian/rules (one-liner dh format) and
+    debian/copyright (DEP5 format).
+    - Build-Depends on debhelper (>= 7.0.50~)
+    - Bumped debhelper compatibility to 7
+    This also fixed the following Lintian warnings as well as many other
+    issues:
     - debhelper-but-no-misc-depends
     - clean-should-be-satisfied-by-build-depends debhelper
+  * Removed obsolete postinst. This fixed the following Lintian warning:
     - maintainer-script-ignores-errors postinst
-  * Further changes to debian/rules
-    - Call distclean target instead of more existant realclean target.
-    - Call make distclean only if a Makefile exists. Don't ignore it's
-      exit code.
   * Added Homepage and Vcs-* headers.
   * Updated source URL in debian/copyright
 

Modified: trunk/pmtools/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/pmtools/debian/control?rev=53292&op=diff
==============================================================================
--- trunk/pmtools/debian/control (original)
+++ trunk/pmtools/debian/control Wed Feb 24 00:29:23 2010
@@ -1,7 +1,7 @@
 Source: pmtools
 Section: utils
 Priority: optional
-Build-Depends: debhelper (>= 7), perl
+Build-Depends: debhelper (>= 7.0.50~), perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Axel Beckert <abe at debian.org>
 Standards-Version: 3.8.4

Modified: trunk/pmtools/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/pmtools/debian/copyright?rev=53292&op=diff
==============================================================================
--- trunk/pmtools/debian/copyright (original)
+++ trunk/pmtools/debian/copyright Wed Feb 24 00:29:23 2010
@@ -1,26 +1,33 @@
-This is a Debian prepackaged version of pmtools.
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Mark Leighton Fisher <mfisher at cpan.org>
+Source: http://search.cpan.org/dist/pmtools/
+Name: pmtools
 
-This package was put together by Joey Hess <joeyh at debian.org>, using
-sources from:
+Files: *
+Copyright: 1999, Tom Christiansen <tchrist at perl.com>
+ 2006, 2008, Mark Leighton Fisher <mfisher at cpan.org>
+ 2006, Jose Pedro Oliveira
+License: Artistic or GPL
 
-	http://mox.perl.com/misc/pmtools-1.00.tar.gz
+Files: debian/*
+Copyright: 1999, Joey Hess <joeyh at debian.org>
+ 2001, Ivan Kohler <ivan-debian at 420.am>
+ 2006, Amaya Rodrigo Sastre <amaya at debian.org>
+ 2010, Axel Beckert <abe at debian.org>
+License: Artistic or GPL-1+
 
-Recent sources have been downloaded from:
+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'
 
-        http://search.cpan.org/dist/pmtools/
-
-The following copyright applies to this package:
-
-  Copyright (c) 1999 Tom Christiansen
-
-  This is free software.  You may modify it and distribute it 
-  under Perl's Artistic Licence.  Modified versions must be
-  clearly indicated.
-
-The text of the artistic license is in /usr/share/common-licenses/Artistic
-
-The 1.10 upstream source has been repackaged by Axel Beckert
-<abe at debian.org> just by untarring the tar.gz and tarring the
-resulting directory again due to a duplicated file in the upstream tar
-ball with which dpkg-source can't cope. See the get-orig-source target
-in debian/rules.
+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/pmtools/debian/pmtools.docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/pmtools/debian/pmtools.docs?rev=53292&op=file
==============================================================================
--- trunk/pmtools/debian/pmtools.docs (added)
+++ trunk/pmtools/debian/pmtools.docs Wed Feb 24 00:29:23 2010
@@ -1,0 +1,2 @@
+README
+TODO

Modified: trunk/pmtools/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/pmtools/debian/rules?rev=53292&op=diff
==============================================================================
--- trunk/pmtools/debian/rules (original)
+++ trunk/pmtools/debian/rules Wed Feb 24 00:29:23 2010
@@ -1,11 +1,9 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
 ORIGVERSION=1.10
-
 # We have to repack the source because 
 get-orig-source:
 	mkdir -p debian/tmp
@@ -14,64 +12,8 @@
 	tar cvzf ../pmtools_$(ORIGVERSION).orig.tar.gz -C debian/tmp pmtools-$(ORIGVERSION).orig
 	rm -rf debian/tmp
 
-build: build-stamp
-build-stamp:
-	dh_testdir
-	#perl Makefile.PL INSTALLDIRS=perl PREFIX=`pwd`/debian/tmp/usr
-	perl Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	touch build-stamp
+%:
+	dh $@
 
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	if [ -f Makefile ]; then $(MAKE) distclean; else true; fi
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	#$(MAKE) pure_install INSTALLMAN1DIR=debian/tmp/usr/share/man/man1 \
-	#	INSTALLMAN3DIR=debian/tmp/usr/share/man/man3
-	$(MAKE) install PREFIX=`pwd`/debian/tmp/usr
-	dh_perl
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build install
-#	dh_testversion
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installexamples
-	dh_installmenu
-#	dh_installemacsen
-#	dh_installinit
-	dh_installcron
-	dh_installman
-#	dh_undocumented
-	dh_installchangelogs
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	# You may want to make some executables suid here.
-	#dh_suidregister
-#	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+# Disabled targets
+override_dh_installcatalogs override_dh_installcron override_dh_installdebconf override_dh_installemacsen override_dh_installifupdown override_dh_pysupport override_dh_installinit override_dh_installmenu override_dh_installmime override_dh_installmodules override_dh_installlogcheck override_dh_installlogrotate override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm override_dh_installxfonts override_dh_bugfiles override_dh_lintian override_dh_gconf override_dh_icons:




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