[med-svn] [r-bioc-rbgl] 08/09: Do not parse d/changelog

Andreas Tille tille at debian.org
Sun Oct 22 17:27:45 UTC 2017


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

tille pushed a commit to branch master
in repository r-bioc-rbgl.

commit 552b14592737318d8c98d956eee7408b2343fa68
Author: Andreas Tille <tille at debian.org>
Date:   Sun Oct 22 19:20:32 2017 +0200

    Do not parse d/changelog
---
 debian/changelog |  1 +
 debian/rules     | 12 ++----------
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ef1a647..04d034d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ r-bioc-rbgl (1.52.0+dfsg1-1) UNRELEASED; urgency=medium
   * Standards-Version: 4.1.1
   * debhelper 10
   * Add debian/README.source to document binary data files
+  * Do not parse d/changelog
 
  -- Andreas Tille <tille at debian.org>  Sun, 22 Oct 2017 18:46:17 +0200
 
diff --git a/debian/rules b/debian/rules
index a5adcb1..1f70e27 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,20 +1,12 @@
 #!/usr/bin/make -f
 
-debRreposname   := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}' | sed 's/r-\([a-z]\+\)-.*/\1/')
-awkString       := "'/^(Package|Bundle):/ {print $$2 }'"
-cranNameOrig    := $(shell awk "$(awkString)" DESCRIPTION)
-cranName        := $(shell echo "$(cranNameOrig)" | tr 'A-Z' 'a-z')
-package         := r-$(debRreposname)-$(cranName)
-debRdir         := usr/lib/R/site-library
-debRlib         := $(CURDIR)/debian/$(package)/$(debRdir)
-
 %:
 	dh $@ --buildsystem R
 
 override_dh_fixperms:
 	dh_fixperms
-	chmod -x $(debRlib)/$(cranNameOrig)/dot/*.dot
-	chmod -x $(debRlib)/$(cranNameOrig)/XML/simpleExample.gxl
+	find debian -name "*.dot" -exec chmod -x \{\} \;
+	find debian -name simpleExample.gxl -exec chmod -x \{\} \;
 
 unittests:
 	R -f tests/runTests.R

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



More information about the debian-med-commit mailing list