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

js pushed a commit to branch master
in repository libgd-graph3d-perl.

commit 43222a5eebd9b03386c9878df4b01306f253e8b1
Author: Jonas Smedegaard <d...@jones.dk>
Date:   Sat Jun 14 12:07:42 2014 +0200

    Update package relations: (Build-)depend on libgd-perl (with obsolete 
libgd-gd2-perl and libgd-gd2-noxpm-perl variants only as fallback). Relax to 
(build-)depend unversioned on libgd-graph-perl: Needed version satisfied even 
in oldstable. Resolve package relations in rules file.
---
 debian/control.in | 4 ++--
 debian/rules      | 8 ++++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/control.in b/debian/control.in
index 79aedcb..d8d8720 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -1,7 +1,7 @@
 Source: libgd-graph3d-perl
 Section: perl
 Priority: extra
-Build-Depends: @cdbs@, libgd-gd2-perl, libgd-graph-perl (>= 1.30)
+Build-Depends: @cdbs@
 Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
 Uploaders: Jonas Smedegaard <d...@jones.dk>
 Vcs-Git: git://git.debian.org/git/pkg-perl/packages/libgd-graph3d-perl
@@ -11,7 +11,7 @@ Homepage: http://search.cpan.org/dist/GD-Graph3d/
 
 Package: libgd-graph3d-perl
 Architecture: all
-Depends: libgd-graph-perl (>= 1.30), ${perl:Depends}, ${misc:Depends}
+Depends: ${cdbs:Depends}, ${perl:Depends}, ${misc:Depends}
 Description:  Create 3D Graphs with GD and GD::Graph
  This is the GD::Graph3d extensions module. It provides 3D graphs for the 
  GD::Graph module by Martien Verbruggen, which in turn generates graph 
diff --git a/debian/rules b/debian/rules
index bbdf9cd..ebc1ed0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,9 +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 = GD-Graph3d
 DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/GD
 DEB_UPSTREAM_TARBALL_MD5 = f866dcdd1e7e2056bb946ab7ac3fe37b
 
+deps = libgd-graph-perl
+deps +=, libgd-perl | libgd-gd2-noxpm-perl | libgd-gd2-perl
+
+CDBS_BUILD_DEPENDS +=, $(deps)
+CDBS_DEPENDS_$(pkg) = $(deps)
+
 # Suppress some graphics (in addition to default stuff)
 DEB_COPYRIGHT_CHECK_IGNORE_REGEX = 
^(t/.*\.png|debian/(changelog|copyright(|_hints|_newhints)))$

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libgd-graph3d-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