diff --git a/debian/ant.properties b/debian/ant.properties
index 6976ff6..31740e3 100644
--- a/debian/ant.properties
+++ b/debian/ant.properties
@@ -1,6 +1,11 @@
project.name=libslf4j-java
class.dir=classes
source.dir=src/main/java
+test.dir=test
+test.source.dir=src/test/java
+test.class.dir=test/classes
+test.res.dir=test/results
+test.resource.dir=src/test/resources
jcl-over-slf4j.dir=jcl-over-slf4j
jul-to-slf4j.dir=jul-to-slf4j
diff --git a/debian/build.xml b/debian/build.xml
index 569dc48..f5a796c 100644
--- a/debian/build.xml
+++ b/debian/build.xml
@@ -15,6 +15,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -141,4 +152,80 @@
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/debian/changelog b/debian/changelog
index 3815b46..d709553 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+libslf4j-java (1.6.4-1) unstable; urgency=low
+
+ * New upstream release.
+ * Merge changes from Ubuntu, thanks to James Page (Closes: #646092) :
+ + Enable test suite:
+ - d/ant.properties, d/build.xml: Define new targets to compile and
+ execute test suites for all jar files.
+ - d/control: Add ant-optional and junit to B-D's.
+ - d/rules: Define DEB_ANT_CHECK_TARGET to execute test suite and add
+ ant-junit and junit to DEB_JARS.
+ + d/control: Remove surplus dependencies - libjavassist-java,
+ libcommons-lang-java
+
+ -- Damien Raude-Morvan Tue, 01 Nov 2011 23:48:41 +0100
+
libslf4j-java (1.6.2-1) unstable; urgency=low
* New upstream release.
diff --git a/debian/control b/debian/control
index e5ba7fb..6b8b7e7 100644
--- a/debian/control
+++ b/debian/control
@@ -5,12 +5,12 @@
Uploaders: Varun Hiremath ,
Damien Raude-Morvan
Build-Depends: ant,
+ ant-optional,
cdbs,
debhelper (>= 7),
default-jdk,
- libcommons-lang-java,
+ junit,
libcommons-logging-java,
- libjavassist-java,
liblog4j1.2-java,
maven-repo-helper
Standards-Version: 3.9.2
@@ -21,7 +21,7 @@
Package: libslf4j-java
Architecture: all
Depends: ${misc:Depends}
-Suggests: libcommons-logging-java, libjavassist-java, liblog4j1.2-java
+Suggests: libcommons-logging-java, liblog4j1.2-java
Description: Simple Logging Facade for Java
The Simple Logging Facade for Java (or SLF4J) is intended to serve as
a simple facade for various logging APIs allowing to the end-user to
diff --git a/debian/rules b/debian/rules
index 52423f6..bedb021 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,8 +7,9 @@
VERSION := $(DEB_UPSTREAM_VERSION)
JAVA_HOME := /usr/lib/jvm/default-java
DEB_ANT_BUILD_TARGET := jar
+DEB_ANT_CHECK_TARGET := test
DEB_ANT_BUILDFILE := debian/build.xml
-DEB_JARS := commons-logging log4j-1.2
+DEB_JARS := commons-logging log4j-1.2 ant-junit junit
MODULES := jcl-over-slf4j jul-to-slf4j log4j-over-slf4j slf4j-api \
slf4j-jcl slf4j-jdk14 slf4j-log4j12 slf4j-migrator slf4j-nop slf4j-simple