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

js pushed a commit to branch master
in repository libcgi-formbuilder-perl.

commit f74bfcc5222a4b9fd239f2bbc3de412ba4c31bce
Author: Jonas Smedegaard <d...@jones.dk>
Date:   Mon Aug 22 15:51:19 2016 +0200

    Tidy rules file: Restructure package relations.
---
 debian/rules | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0f13068..3f491f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,17 +21,21 @@ 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 = CGI-FormBuilder
 DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/CGI
 #DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/N/NW/NWIGER
 DEB_UPSTREAM_TARBALL_VERSION := $(shell echo '$(DEB_UPSTREAM_VERSION)' | awk 
-F. '{print $$1"."$$2$$3$$4$$5}')
 DEB_UPSTREAM_TARBALL_EXTENSION = tgz
 
-# Needed both by upstream build process and (seldom) at runtime
-common-suggests = libhtml-template-perl, libtemplate-perl, 
libtext-template-perl, libcgi-session-perl, libcgi-ssi-perl
-
-CDBS_BUILD_DEPENDS += , $(common-suggests)
-CDBS_SUGGESTS_DEFAULT = $(common-suggests)
+# Needed by upstream build and (seldom) at runtime
+perl-deps-suggest += html-template template text-template cgi-session cgi-ssi
+deps-suggest = $(patsubst %,$(comma) lib%-perl,$(perl-deps-suggest))
 
 # Needed (often) at runtime
-CDBS_RECOMMENDS_ALL = libhtml-parser-perl
+recommends = libhtml-parser-perl
+
+CDBS_BUILD_DEPENDS +=, $(deps-suggest)
+CDBS_RECOMMENDS_$(pkg) = $(recommends)
+CDBS_SUGGESTS_$(pkg) = $(deps-suggest)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcgi-formbuilder-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to