[SCM] Debian packaging of Sys-CPU CPAN distribution branch, master, updated. debian/0.40-2.1-14-gdd107be

gregor herrmann gregoa at debian.org
Thu Jan 19 19:55:11 UTC 2012


The following commit has been merged in the master branch:
commit 87e9b06ae106a9a4433659850736eb9e6fa09a0f
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Jan 19 20:39:06 2012 +0100

    Switch to debhelper compatibility level 9 to pass CFLAGS to Makefile.PL/Build.PL.
    Use tiny debian/rules.

diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
index 65a9ff7..00a1cd8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: perl
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Isaac Clerencia <isaac at sindominio.net>
-Build-Depends: debhelper (>= 4.0.0)
+Build-Depends: debhelper (>= 9)
 Standards-Version: 3.6.1
 Homepage: http://search.cpan.org/dist/Sys-CPU/
 Vcs-Git: git://git.debian.org/pkg-perl/packages/libsys-cpu-perl.git
diff --git a/debian/rules b/debian/rules
index 11177d3..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,69 +1,4 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This is the debhelper compatability version to use.
-export DH_COMPAT=3
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-
-	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
-	-$(MAKE) distclean
-	rm -f Makefile Makefile.old
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	dh_install
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-
-	dh_installdocs
-	dh_installman
-	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 binary-indep binary-arch binary install
+%:
+	dh $@

-- 
Debian packaging of Sys-CPU CPAN distribution



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