[junit4] 04/05: Override dh_install and execute jh_manifest after the installation took place.

Markus Koschany apo-guest at moszumanska.debian.org
Tue Dec 22 17:56:40 UTC 2015


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

apo-guest pushed a commit to branch master
in repository junit4.

commit 728ecefbb20beb3192cfb0f40fe8c79dc0980b78
Author: Markus Koschany <apo at debian.org>
Date:   Tue Dec 22 18:33:33 2015 +0100

    Override dh_install and execute jh_manifest after the installation took place.
    
    This ensures that debian/junit4.manifest is really installed into the jar file.
    
    Closes: #808736
    Thanks: Rene Engelhard for the report.
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 65e0d1d..5f7ba4d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,11 @@ export JAVA_HOME=/usr/lib/jvm/default-java
 %:
 	dh $@ --parallel --buildsystem=maven
 
+override_dh_install:
+	dh_install
+	# Run jh_manifest after dh_install to ensure that debian/junit4.manifest is
+	# really installed into the jar file. See also #808736
+	jh_manifest -pjunit4
 
 get-orig-source:
 	-uscan --upstream-version 0 --rename

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



More information about the pkg-java-commits mailing list