[med-svn] [r-bioc-multtest] 06/06: Do not parse d/changelog

Andreas Tille tille at debian.org
Wed Nov 8 09:25:15 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-multtest.

commit e973577d71d2aa1a876da8d478a06d698ae00738
Author: Andreas Tille <tille at debian.org>
Date:   Wed Nov 8 10:23:55 2017 +0100

    Do not parse d/changelog
---
 debian/changelog |  5 +++--
 debian/rules     | 10 +---------
 2 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 844ffa8..ef9573e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,12 @@
-r-bioc-multtest (2.34.0-1) UNRELEASED; urgency=medium
+r-bioc-multtest (2.34.0-1) unstable; urgency=medium
 
   * New upstream version
   * Moved packaging from SVN to Git
   * Standards-Version: 4.1.1
   * Testsuite: autopkgtest-pkg-r
+  * Do not parse d/changelog
 
- -- Andreas Tille <tille at debian.org>  Wed, 08 Nov 2017 10:14:15 +0100
+ -- Andreas Tille <tille at debian.org>  Wed, 08 Nov 2017 10:19:32 +0100
 
 r-bioc-multtest (2.32.0-1) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 927a515..37df1d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,16 +1,8 @@
 #!/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)/otherDocs/*.Rnw
+	find debian -name "*.Rnw" -exec chmod -x \{\} \;

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



More information about the debian-med-commit mailing list