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

tille pushed a commit to branch master
in repository bedtools.

commit 23686d4e8c27b1f6413adeb628cd943bd66751a6
Author: Andreas Tille <[email protected]>
Date:   Sat Feb 10 10:50:04 2018 +0100

    d/rules: do not parse d/changelog
---
 debian/changelog |  1 +
 debian/rules     | 11 ++++-------
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3b788d6..80d5706 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ bedtools (2.27.1+dfsg-1) UNRELEASED; urgency=medium
   * New upstream version
   * cme fix dpkg-control
   * debhelper 11
+  * d/rules: do not parse d/changelog
 
  -- Andreas Tille <[email protected]>  Sat, 10 Feb 2018 07:50:48 +0100
 
diff --git a/debian/rules b/debian/rules
index 54d96ae..6527813 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,10 +4,7 @@ export DH_VERBOSE=1
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' 
')
-DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
-DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 
's/-[^-]*$$//')
+include /usr/share/dpkg/default.mk
 
 %:
        dh $@
@@ -30,14 +27,14 @@ override_dh_install-indep:
        # Somehow the test dir is differently named than the script has it
        # Since I fail to see how this test dir was to the script at all I
        # simply change the script afterwards
-       sed -i 's/^cd groupby;/cd groupBy;/' 
debian/$(DEBPKGNAME)-test/usr/share/$(DEBPKGNAME)/test/test.sh
+       sed -i 's/^cd groupby;/cd groupBy;/' 
debian/$(DEB_SOURCE)-test/usr/share/$(DEB_SOURCE)/test/test.sh
 
 override_dh_fixperms-arch:
        dh_fixperms
-       chmod -x 
$(CURDIR)/debian/$(DEBPKGNAME)/usr/share/bedtools/genomes/*.genome
+       chmod -x 
$(CURDIR)/debian/$(DEB_SOURCE)/usr/share/bedtools/genomes/*.genome
        find $(CURDIR)/debian -name "*.bed" -executable -exec chmod -x \{\} \;
        find $(CURDIR)/debian -name "*.sh"  -not -executable -exec chmod +x 
\{\} \;
 
 get-orig-source:
-       uscan --no-symlink --force-download --download-version 
$(DEB_UPSTREAM_VERSION)
+       uscan --no-symlink --force-download --download-version 
$(DEB_VERSION_UPSTREAM)
 

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

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to