[java-sig-commits] [apache-commons-validator] Fix tests after junit update
Stanislav Ochotnicky
sochotni at fedoraproject.org
Fri May 18 14:29:10 UTC 2012
commit f2edda70cb2d778f3a658a0d0d0946f237ad5b5a
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date: Fri May 18 16:23:43 2012 +0200
Fix tests after junit update
apache-commons-validator.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/apache-commons-validator.spec b/apache-commons-validator.spec
index 8b2d60b..adf2125 100644
--- a/apache-commons-validator.spec
+++ b/apache-commons-validator.spec
@@ -3,7 +3,7 @@
Name: apache-%{short_name}
Version: 1.3.1
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Apache Commons Validator
Group: Development/Libraries
License: ASL 2.0
@@ -61,6 +61,10 @@ sed -i 's/\r//' LICENSE.txt
sed -i 's/\r//' RELEASE-NOTES.txt
sed -i 's/\r//' NOTICE.txt
+# use textui instead of awtui (not available in junit4+)
+sed -i 's:junit.awtui.TestRunner.main:junit.textui.TestRunner.main:g' \
+ src/test/org/apache/commons/validator/*java
+
%build
# TODO: Use Maven for building as soon as upstream provides proper build.xml.
# Currently upstream build.xml uses antrun plugin to build, so downloads
@@ -116,6 +120,9 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%{_javadocdir}/%{name}
%changelog
+* Fri May 18 2012 Stanislav Ochotnicky <sochotnicky at redhat.com>- 1.3.1-8
+- Fix tests after junit update
+
* Sat Jan 14 2012 Ville Skyttä <ville.skytta at iki.fi> - 1.3.1-7
- Tweak source encoding to fix build with Java 1.7.
- Drop versioned jars and javadoc dir.
More information about the java-sig-commits
mailing list