[med-svn] [r-cran-registry] 02/05: Convert from cdbs to dh-r

Andreas Tille tille at debian.org
Fri Sep 29 09:46:37 UTC 2017


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

tille pushed a commit to branch master
in repository r-cran-registry.

commit bdf38322fde3841330813d812a3b08255007fca1
Author: Andreas Tille <tille at debian.org>
Date:   Fri Sep 29 11:43:25 2017 +0200

    Convert from cdbs to dh-r
---
 debian/changelog | 1 +
 debian/control   | 4 +++-
 debian/rules     | 8 +++++---
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2c0d6d4..78829ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ r-cran-registry (0.3-2) UNRELEASED; urgency=medium
 
   * Team upload.
   * debhelper 10
+  * Convert from cdbs to dh-r
 
  -- Andreas Tille <tille at debian.org>  Fri, 29 Sep 2017 11:39:28 +0200
 
diff --git a/debian/control b/debian/control
index 6e17b1a..c65921f 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 10),
                r-base-dev (>= 3.0.0),
-               cdbs
+               dh-r
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/r-cran-registry.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/r-cran-registry.git
@@ -15,6 +15,8 @@ Package: r-cran-registry
 Architecture: all
 Depends: ${misc:Depends},
          ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: GNU R package for registries
  This package provides a generic infrastructure for creating and using
  registries.
diff --git a/debian/rules b/debian/rules
index 9cadbe9..4ea457a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 
-include /usr/share/R/debian/r-cran.mk
+%:
+	dh $@ --buildsystem R
 
-install/$(package)::
-	chmod 644 $(debRlib)/$(cranName)/doc/registry.*
+override_dh_install:
+	dh_install
+	find debian -name "registry.*" -exec chmod -x \{\} \;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-registry.git



More information about the debian-med-commit mailing list