[med-svn] [r-cran-rniftilib] 03/04: Convert to dh-r

Andreas Tille tille at debian.org
Wed Nov 16 09:47:14 UTC 2016


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

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

commit 388987346ab5df93ac5556a9755f7af09473f309
Author: Andreas Tille <tille at debian.org>
Date:   Wed Nov 16 10:38:48 2016 +0100

    Convert to dh-r
---
 debian/control |  4 +++-
 debian/rules   | 12 ++----------
 2 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/debian/control b/debian/control
index e20fb52..66e6877 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Section: gnu-r
 Priority: optional
 Build-Depends: debhelper (>= 9),
                r-base-dev,
-               cdbs
+               dh-r
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/r-cran-rniftilib.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/r-cran-rniftilib.git
@@ -16,6 +16,8 @@ Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: GNU/R interface to NIFTICLIB
  R interface to nifticlib (nifticlib-2.0.0) (read/write
  ANALYZE(TM)7.5/NIfTI-1 volume images)
diff --git a/debian/rules b/debian/rules
index ecd196b..83d90b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,7 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
-### unfortunately this does not enable hardening
-# export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-# DPKG_EXPORT_BUILDFLAGS = 1
-# include /usr/share/dpkg/buildflags.mk
-
-include /usr/share/R/debian/r-cran.mk
-
-install/$(package)::
-	rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
+%:
+	dh $@ --buildsystem R
 
 get-orig-source:
 	. debian/get-orig-source

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



More information about the debian-med-commit mailing list