The following commit has been merged in the master branch:
commit d7b16523323eec41c75ede4ea6834bf52fdee549
Author: Charles Plessy <[email protected]>
Date:   Sun Feb 26 19:38:55 2012 +0900

    Obtain the R:Depends substitution variable through r-base-dev.

diff --git a/debian/control b/debian/control
index 6774f18..24352ee 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Med Packaging Team 
<[email protected]>
 DM-Upload-Allowed: yes
 Uploaders: Charles Plessy <[email protected]>
-Build-Depends: debhelper (>= 8), cdbs, r-base-dev, r-cran-lattice, 
r-cran-permute
+Build-Depends: debhelper (>= 8), cdbs, r-base-dev (>= 2.14.2~20120222), 
r-cran-lattice, r-cran-permute
 Standards-Version: 3.9.3
 Vcs-Browser: http://git.debian.org/?p=debian-med/r-cran-vegan.git
 Vcs-Git: git://git.debian.org/debian-med/r-cran-vegan.git
diff --git a/debian/rules b/debian/rules
index e219fa5..984d2aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,3 @@
 DEB_DH_BUILDDEB_ARGS = -- -Z xz
 
 include /usr/share/R/debian/r-cran.mk
-
-# Require a number equal or superior than the R version the package was built 
with.
-install/r-$(debRreposname)-$(cranName)::
-       echo "R:Depends=r-base-core (>= $(shell R --version | head -n1 | perl 
-ne 'print / +([0-9]\.[0-9]+\.[0-9])/')~)" >> 
debian/r-$(debRreposname)-$(cranName).substvars

-- 
Community Ecology Package for R

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to