[libnmap-parser-perl] 07/07: Rewrite debian/rules with minimal dh style and bump dh compat to 10
Axel Beckert
abe at deuxchevaux.org
Wed Nov 9 21:57:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libnmap-parser-perl.
commit 351b605a0ddf36b067d214ef202e1adef5f3a202
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Wed Nov 9 22:55:51 2016 +0100
Rewrite debian/rules with minimal dh style and bump dh compat to 10
---
debian/changelog | 3 +++
debian/compat | 2 +-
debian/control | 2 +-
debian/rules | 52 +++++++---------------------------------------------
4 files changed, 12 insertions(+), 47 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 75b5a06..87c1862 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,9 @@ libnmap-parser-perl (1.31-1) UNRELEASED; urgency=medium
+ Update packaging with regards to changed upstream file names.
+ Remove sole patch. No more applies due to massive code changes.
* Apply "wrap-and-sort -a".
+ * Bump debhelper compatibility to 10.
+ + Update versioned build-dependency on debhelper accordingly.
+ * Rewrite debian/rules in minimal dh v7 style.
-- Axel Beckert <abe at debian.org> Wed, 09 Nov 2016 22:43:34 +0100
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+10
diff --git a/debian/control b/debian/control
index b028f76..36f7748 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: libnmap-parser-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 10)
Build-Depends-Indep: libxml-twig-perl,
perl (>= 5.8.0-7)
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
diff --git a/debian/rules b/debian/rules
index 6fe7390..ad28adf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,52 +7,14 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-build: build-stamp
-build-stamp:
- dh_testdir
+%:
+ dh $@
- # Add commands to compile the package here
- perl Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
-
- # Add commands to clean up after the build process here
- [ ! -f Makefile ] || $(MAKE) realclean
-
- dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
- dh_testdir
- dh_testroot
- dh_clean -k
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
- $(MAKE) install DESTDIR=$(CURDIR)/debian/libnmap-parser-perl
-
- touch install-stamp
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
- dh_testdir
- dh_testroot
+override_dh_installexamples:
dh_installexamples tools/*.pl
+
+override_dh_installdocs:
dh_installdocs README.md
- dh_installchangelogs Changes
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+override_dh_installchangelogs:
+ dh_installchangelogs Changes
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnmap-parser-perl.git
More information about the Pkg-perl-cvs-commits
mailing list