[SCM] Debian packaging of libnet-server-perl branch, master, updated. a29f5e444a4f3266f106cdb369360a3afc5eda97

gregor herrmann gregoa at debian.org
Tue Sep 20 20:11:00 UTC 2011


The following commit has been merged in the master branch:
commit 45e660eed4adb26d6fa342123fb82326b84811d6
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Sep 20 21:41:29 2011 +0200

    Use tiny debian/rules file, and 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 910959b..821397f 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libnet-server-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7), perl (>= 5.8), dpatch
+Build-Depends: debhelper (>= 8), perl (>= 5.8), dpatch
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Carsten Wolff <carsten at wolffcarsten.de>, Alexander Wirt <formorer at debian.org>
 Standards-Version: 3.9.1
diff --git a/debian/rules b/debian/rules
index 6cbab7f..613d5b1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,54 +1,8 @@
 #!/usr/bin/make -f
 
-PACKAGE=$(shell dh_listpackages)
+%:
+	dh $@
 
-ifndef PERL
-PERL=/usr/bin/perl
-endif
-
-include /usr/share/dpatch/dpatch.make
-
-build: build-stamp
-build-stamp: patch-stamp
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	touch $@
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-	rm -f Makefile Makefile.old
-	rm -f Net-Server.spec
-	dh_clean
-
-install:
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/libnet-server-perl
-
-binary-arch: build install
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installexamples
-	dh_installchangelogs Changes
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean install binary-indep binary-arch binary
+override_dh_auto_test:
+	# don't run tests. they were disabled before and still fail.
+	# TODO: investigate!

-- 
Debian packaging of libnet-server-perl



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