[libhtml-html5-outline-perl] 09/11: Tidy rules file: Restructure package relations resolving.

Jonas Smedegaard dr at jones.dk
Mon Jun 9 19:45:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libhtml-html5-outline-perl.

commit 54ddc25a8f85761ed852c5a4ec5a6deaf68d40f2
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Jun 9 21:26:37 2014 +0200

    Tidy rules file: Restructure package relations resolving.
---
 debian/control.in |  1 +
 debian/rules      | 15 ++++++++-------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/debian/control.in b/debian/control.in
index 0b84930..b63c846 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -12,6 +12,7 @@ Homepage: https://metacpan.org/release/HTML-HTML5-Outline
 Package: libhtml-html5-outline-perl
 Architecture: all
 Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends}
+Recommends: ${cdbs:Recommends}
 Description: implementation of the HTML5 Outline algorithm
  Resource Description Framework (RDF) is a standard model for data
  interchange on the Web.
diff --git a/debian/rules b/debian/rules
index e387189..d8dd47c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,16 +21,17 @@ include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/class/perl-makemaker.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
+pkg = $(DEB_SOURCE_PACKAGE)
+
 DEB_UPSTREAM_PACKAGE = HTML-HTML5-Outline
 DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/HTML
 #DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/T/TO/TOBYINK
 DEB_UPSTREAM_TARBALL_MD5 = 1473666757e0d7f7af4a8d29ed8d71c4
 
-# Needed both by upstream build process and at runtime
-common-depends = libhtml-html5-parser-perl, libxml-libxml-perl
-
-CDBS_BUILD_DEPENDS += , $(common-depends)
-CDBS_DEPENDS_ALL = $(common-depends)
+# Needed by upstream build and (always/often) at runtime
+deps = libhtml-html5-parser-perl, libxml-libxml-perl
+deps-recommend = librdf-trine-perl
 
-# additional build-dependency to enable tests
-CDBS_BUILD_DEPENDS += , librdf-trine-perl
+CDBS_BUILD_DEPENDS +=, $(deps), $(deps-recommend)
+CDBS_DEPENDS_$(pkg) = $(deps)
+CDBS_RECOMMENDS_$(pkg) = $(deps-recommend)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-html5-outline-perl.git



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