[med-svn] [r-cran-praise] 01/05: Convert from cdbs to dh-r

Andreas Tille tille at debian.org
Fri Sep 29 07:52:07 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-praise.

commit bb84f3b680bbc2e10653d5d9bd5e7b9cc120bee8
Author: Andreas Tille <tille at debian.org>
Date:   Fri Sep 29 09:48:27 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 4d92f4e..c31bd6a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 r-cran-praise (1.0.0-2) UNRELEASED; urgency=medium
 
   * Moved packaging from SVN to Git
+  * Convert from cdbs to dh-r
 
  -- Andreas Tille <tille at debian.org>  Fri, 29 Sep 2017 09:45:15 +0200
 
diff --git a/debian/control b/debian/control
index d50f592..725189e 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               cdbs,
+               dh-r,
                r-base-dev
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/r-cran-praise.git
@@ -15,6 +15,8 @@ Package: r-cran-praise
 Architecture: all
 Depends: ${misc:Depends},
          ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: GNU R praise users
  Build friendly R packages that praise their users if they have done
  something good, or they just need it to feel better.
diff --git a/debian/rules b/debian/rules
index 5000db0..ae86733 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)::
-	rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
+override_dh_install:
+	dh_install
+	find debian -name LICENSE -delete

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



More information about the debian-med-commit mailing list