[cobertura] 12/19: Depend on junit4 instead of junit

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Sep 27 08:13:03 UTC 2017


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

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

commit 2a72ab96db2d21b36551255d8b52a88863b4ec59
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Sep 27 01:13:08 2017 +0200

    Depend on junit4 instead of junit
---
 debian/changelog   | 1 +
 debian/control     | 4 ++--
 debian/maven.rules | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7073551..f6842a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ cobertura (2.1.1-1) UNRELEASED; urgency=medium
     - Updated the man pages
     - Depend on libasm-java (>= 5.0) instead of libasm3-java (Closes: #800863)
     - Depend on liblogback-java instead of liblog4j1.2-java
+    - Depend on junit4 instead of junit
   * Modified the watch file to catch the old releases
   * Standards-Version updated to 4.1.0
   * Removed the -java-doc package
diff --git a/debian/control b/debian/control
index 7f80d1a..e647896 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends: ant,
                default-jdk,
                docbook-to-man,
                javahelper,
-               junit,
+               junit4,
                libasm-java (>= 5.0),
                libjavacc-maven-plugin-java,
                liblogback-java,
@@ -39,7 +39,7 @@ Architecture: all
 Depends: default-jre-headless | java5-runtime-headless,
          libcobertura-java (= ${binary:Version}),
          ${misc:Depends}
-Recommends: junit
+Recommends: junit4
 Description: java tool that calculates the percentage of code accessed by tests
  Tool that measures test coverage by instrumenting a Java code base and watching
  which lines of code are and are not executed as the test suite runs. In
diff --git a/debian/maven.rules b/debian/maven.rules
index 1d1261d..9db32c6 100644
--- a/debian/maven.rules
+++ b/debian/maven.rules
@@ -1,3 +1,4 @@
+junit junit * s/.*/4.x/ * *
 org.codehaus.plexus plexus-container-default * s/.*/1.5.5/ * *
 org.apache.maven s/maven-project/maven-core/ * s/.*/3.x/ * *
 org.apache.maven maven-* * s/.*/3.x/ * *

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



More information about the pkg-java-commits mailing list