[r-cran-mime] 04/09: Convert to dh-r

Andreas Tille tille at debian.org
Mon Dec 5 16:46:18 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-mime.

commit 17707615ce18e13189d9088295ab68b34c4d44e7
Author: Andreas Tille <tille at debian.org>
Date:   Mon Dec 5 17:29:41 2016 +0100

    Convert to dh-r
---
 debian/changelog |  1 +
 debian/control   |  7 +++++--
 debian/rules     | 13 ++-----------
 3 files changed, 8 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2d8b421..76df0c1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ r-cran-mime (0.5-1) UNRELEASED; urgency=medium
   * Team upload.
   * New upstream version
   * cme fix dpkg-control
+  * Convert to dh-r
 
  -- Andreas Tille <tille at debian.org>  Mon, 05 Dec 2016 17:23:17 +0100
 
diff --git a/debian/control b/debian/control
index 94f652f..b573afe 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-science/packages/r-cran-mime.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/r-cran-mime.git
@@ -14,7 +14,10 @@ Homepage: https://cran.r-project.org/web/packages/mime/
 Package: r-cran-mime
 Architecture: any
 Depends: ${shlibs:Depends},
-         ${R:Depends}
+         ${R:Depends},
+         ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Description: R package which maps filenames to MIME Types
  Guesses the MIME type from a filename extension using the data derived
  from /etc/mime.types in UNIX-type systems.
diff --git a/debian/rules b/debian/rules
index 4cc3209..68d9a36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,4 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-# export DH_VERBOSE=1
-
-# Use hardening flags for linking
-include /usr/share/dpkg/buildflags.mk
-makeFlags="LDFLAGS=$(LDFLAGS)"
-
-include /usr/share/R/debian/r-cran.mk
-
-common-install-arch::
-	rm -vf $(debRlib)/$(cranNameOrig)/NEWS
+%:
+	dh $@ --buildsystem R

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-mime.git



More information about the debian-science-commits mailing list