[SCM] Debian packaging of YAML-Tiny CPAN distribution branch, master, updated. debian/1.51-2

Damyan Ivanov dmn at debian.org
Sat Mar 30 21:43:04 UTC 2013


The following commit has been merged in the master branch:
commit 7d393d63263de5758674754de055df62cc3ec065
Author: Damyan Ivanov <dmn at debian.org>
Date:   Sat Mar 30 23:35:08 2013 +0200

    replace debian/rules with dh9 three-liner

diff --git a/debian/changelog b/debian/changelog
index 39c7f9f..7fabd64 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ libyaml-tiny-perl (1.51-2) UNRELEASED; urgency=low
     <lightsey at debian.org>); added myself to Uploaders.
   * debian/watch: use metacpan-based URL.
   * Standards-Version: 3.9.4 (no changes needed)
+  * replace debian/rules with dh9 three-liner
 
  -- Damyan Ivanov <dmn at debian.org>  Sat, 30 Mar 2013 17:28:58 +0200
 
diff --git a/debian/control b/debian/control
index e54dff3..d30382d 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libyaml-tiny-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 9)
 Build-Depends-Indep: perl (>= 5.8.8-7 )
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Damyan Ivanov <dmn at debian.org>
diff --git a/debian/rules b/debian/rules
index 4fa017a..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,76 +1,4 @@
 #!/usr/bin/make -f
 
-# 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
-
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-	dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_prep
-
-	$(MAKE) test
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we delete them from the deb:
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
-
-	touch install-stamp
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-#	dh_installcron
-#	dh_installmenu
-#	dh_installexamples
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_perl -d
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	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
+%:
+	dh $@

-- 
Debian packaging of YAML-Tiny CPAN distribution



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