r44386 - in /trunk/libcarp-datum-perl/debian: changelog compat control rules

hertzog at users.alioth.debian.org hertzog at users.alioth.debian.org
Sun Sep 20 12:14:51 UTC 2009


Author: hertzog
Date: Sun Sep 20 12:14:42 2009
New Revision: 44386

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44386
Log:
* Convert to debhelper 7 tiny rules files.
* Add liblog-agent-perl, libgetargs-long-perl to Build-Depends-Indep, they
  are needed for tests.
* Update my name in Uploaders to have the required accent.

Modified:
    trunk/libcarp-datum-perl/debian/changelog
    trunk/libcarp-datum-perl/debian/compat
    trunk/libcarp-datum-perl/debian/control
    trunk/libcarp-datum-perl/debian/rules

Modified: trunk/libcarp-datum-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcarp-datum-perl/debian/changelog?rev=44386&op=diff
==============================================================================
--- trunk/libcarp-datum-perl/debian/changelog (original)
+++ trunk/libcarp-datum-perl/debian/changelog Sun Sep 20 12:14:42 2009
@@ -14,6 +14,12 @@
   * debian/control: Changed: Replace versioned (build-)dependency on
     perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as
     permitted by Debian Policy 3.8.3).
+
+  [ Raphaël Hertzog ]
+  * Convert to debhelper 7 tiny rules files.
+  * Add liblog-agent-perl, libgetargs-long-perl to Build-Depends-Indep, they
+    are needed for tests.
+  * Update my name in Uploaders to have the required accent.
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 08 Jun 2008 17:58:33 +0200
 

Modified: trunk/libcarp-datum-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcarp-datum-perl/debian/compat?rev=44386&op=diff
==============================================================================
--- trunk/libcarp-datum-perl/debian/compat (original)
+++ trunk/libcarp-datum-perl/debian/compat Sun Sep 20 12:14:42 2009
@@ -1,1 +1,1 @@
-6
+7

Modified: trunk/libcarp-datum-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcarp-datum-perl/debian/control?rev=44386&op=diff
==============================================================================
--- trunk/libcarp-datum-perl/debian/control (original)
+++ trunk/libcarp-datum-perl/debian/control Sun Sep 20 12:14:42 2009
@@ -2,9 +2,9 @@
 Section: perl
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Raphael Hertzog <hertzog at debian.org>
-Build-Depends: debhelper (>= 6)
-Build-Depends-Indep: perl
+Uploaders: Raphaël Hertzog <hertzog at debian.org>
+Build-Depends: debhelper (>= 7.0.50~)
+Build-Depends-Indep: perl, liblog-agent-perl, libgetargs-long-perl
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Carp-Datum/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcarp-datum-perl/

Modified: trunk/libcarp-datum-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcarp-datum-perl/debian/rules?rev=44386&op=diff
==============================================================================
--- trunk/libcarp-datum-perl/debian/rules (original)
+++ trunk/libcarp-datum-perl/debian/rules Sun Sep 20 12:14:42 2009
@@ -5,81 +5,16 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-	perl Makefile.PL INSTALLDIRS=vendor
+%:
+	dh $@
 
-	touch configure-stamp
+override_dh_auto_install:
+	dh_auto_install
+	mkdir -p $(CURDIR)/debian/libcarp-datum-perl/usr/share/man/man1
+	rm -f $(CURDIR)/debian/libcarp-datum-perl/usr/share/man/man1/datum_strip.*
+	ln -sf ../man3/Carp::Datum::Strip.3pm.gz $(CURDIR)/debian/libcarp-datum-perl/usr/share/man/man1/datum_strip.1.gz
 
-build: build-stamp
-build-stamp: configure-stamp
-	dh_testdir
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f scripts/datum_strip
 
-	# Add here commands to compile the package.
-	#$(MAKE)
-	#/usr/bin/docbook-to-man debian/libcarp-datum-perl.sgml > libcarp-datum-perl.1
-	$(MAKE) OPTIMIZE="-O2 -g -Wall"
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	if [ -e Makefile ]; then $(MAKE) clean; fi
-
-	dh_clean Makefile.old scripts/datum_strip
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/libcarp-datum-perl.
-	$(MAKE) install PREFIX=$(CURDIR)/debian/libcarp-datum-perl/usr
-	-mkdir -p $(CURDIR)/debian/libcarp-datum-perl/usr/share/man/man1
-	ln -sf ../man3/Carp::Datum::Strip.3pm.gz $(CURDIR)/debian/libcarp-datum-perl/usr/share/man/man1/datum_strip.1.gz
-	[ ! -d $(CURDIR)/debian/libcarp-datum-perl/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/libcarp-datum-perl/usr/lib/perl5
-
-
-# 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_testdir
-	dh_testroot
-#	dh_installdebconf	
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-	dh_installcron
-	dh_installman
-	dh_installinfo
-#	dh_undocumented
-	dh_installchangelogs ChangeLog
-	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 install configure




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