[openjdk-7-jre-dcevm] 03/04: Replaced the hardcoded package name in debian/rules and debian/orig-tar.sh

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Feb 10 11:09:46 GMT 2016


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

ebourg-guest pushed a commit to branch master
in repository openjdk-7-jre-dcevm.

commit fff62278f696eef9fcf733e7968108d882217c13
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Feb 10 11:29:54 2016 +0100

    Replaced the hardcoded package name in debian/rules and debian/orig-tar.sh
---
 debian/changelog   | 1 +
 debian/orig-tar.sh | 3 ++-
 debian/rules       | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index aa8ca48..4246fa7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ openjdk-7-jre-dcevm (7u79-3) UNRELEASED; urgency=medium
 
   * Updated the DCEVM patches for Java 7u79 (build 8)
   * Standards-Version updated to 3.9.7 (no changes)
+  * Replaced the hardcoded package name in debian/rules and debian/orig-tar.sh
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 10 Feb 2016 11:11:09 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index fbf81c6..0ca060b 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,7 +1,8 @@
 #!/bin/sh
 
+PACKAGE=$(dpkg-parsechangelog -S Source)
 VERSION=$2
-TAR=../openjdk-7-jre-dcevm_$VERSION.orig.tar.gz
+TAR=../$PACKAGE_$VERSION.orig.tar.gz
 TAG=jdk7u79-b15
 
 rm -f $3
diff --git a/debian/rules b/debian/rules
index 1715b2b..bd1d9da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-PACKAGE=openjdk-7-jre-dcevm
+PACKAGE = $(shell dpkg-parsechangelog -S Source)
 
 export DISABLE_HOTSPOT_OS_VERSION_CHECK=ok
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/openjdk-7-jre-dcevm.git



More information about the pkg-java-commits mailing list