[tomcat8] 11/16: Removed the RWFILES and RWLOC variables

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu May 7 13:08:04 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository tomcat8.

commit 2d050835f02212de44239fbb99350de647a4ca88
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu May 7 12:41:29 2015 +0200

    Removed the RWFILES and RWLOC variables
---
 debian/changelog | 1 +
 debian/rules     | 6 +-----
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 54d9aa6..c2b251e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ tomcat8 (8.0.22-2) UNRELEASED; urgency=medium
     - Do not set the version.* properties already defined
       in build.properties.default
     - Renamed T_VER to VERSION
+    - Removed the RWFILES and RWLOC variables
     - No longer remove the long gone .svn directories under
       /usr/share/tomcat8/webapps/default_root
     - Let dh_fixperms set the permissions instead of calling chmod +x
diff --git a/debian/rules b/debian/rules
index 761712d..da97d3e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,10 +6,6 @@ BLDLIB := output/build/lib
 # Upstream version
 VERSION := $(shell dpkg-parsechangelog --show-field Version | sed 's/-[^-]*$$//' | sed 's/~/-/')
 
-# root webapp file locations (during the build)
-RWLOC := debian/default_root
-RWFILES := $(RWLOC)/index.html $(RWLOC)/META-INF/context.xml
-
 # Add distribution.name as system property to grab it when showing version
 TOMCAT_DISTRIBUTION := "$(shell lsb_release -si)"
 
@@ -54,7 +50,7 @@ override_dh_install-indep:
 	
 	# update the checksum for the root webapp
 	unset rwmd5sum \
-		&& rwmd5sum=`cat $(RWFILES) | md5sum - 2>/dev/null | cut -d " " -f1` \
+		&& rwmd5sum=`cat debian/default_root/index.html debian/default_root/META-INF/context.xml | md5sum - 2>/dev/null | cut -d " " -f1` \
 		&& sed "s/\@ROOT_WEBAPP_MD5SUM\@/$$rwmd5sum/" debian/tomcat8.postrm.in > debian/tomcat8.postrm
 	
 	jh_manifest

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/tomcat8.git



More information about the pkg-java-commits mailing list