[SCM] Debian packaging of libfile-desktopentry-perl branch, master, updated. debian/0.04-3

Ansgar Burchardt ansgar at debian.org
Sat Sep 17 09:48:01 UTC 2011


The following commit has been merged in the master branch:
commit 2a796632f4bcf8b77b4c91361e305630b943172b
Author: Ansgar Burchardt <ansgar at debian.org>
Date:   Sat Sep 17 11:32:39 2011 +0200

    Use tiny debian/rules with debhelper 8.

diff --git a/debian/compat b/debian/compat
index 7ed6ff8..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+8
diff --git a/debian/control b/debian/control
index c333205..15aa3c2 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libfile-desktopentry-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5), libmodule-build-perl
+Build-Depends: debhelper (>= 8), libmodule-build-perl
 Build-Depends-Indep: perl (>= 5.8.0-7), libtest-pod-perl, libtest-pod-coverage-perl, libfile-basedir-perl (>= 0.03)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Gunnar Wolf <gwolf at debian.org>
diff --git a/debian/rules b/debian/rules
index 65185fb..a189506 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,58 +1,4 @@
 #!/usr/bin/make -f
 
-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) Build.PL
-	./Build
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	[ ! -x Build ] || ./Build realclean
-	dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	./Build test
-	./Build install --destdir=$(TMP) --installdirs=vendor
-	mkdir -p $(TMP)/usr/share/lintian/overrides
-	install -m0644 $(CURDIR)/debian/source.lintian-overrides \
-		$(TMP)/usr/share/lintian/overrides/$(PACKAGE)
-	touch install-stamp
-
-binary-arch:
-# We have nothing to do by default.
-
-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
-
-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 $@ --buildsystem=perl_build

-- 
Debian packaging of libfile-desktopentry-perl



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