[beust-jcommander/f18] No longer have to skip building tests.

mbooth mbooth at fedoraproject.org
Tue Feb 12 00:22:55 UTC 2013


commit 4f9870c8b7776b44b0042f6d51c2037d37359dbd
Author: Mat Booth <fedora at matbooth.co.uk>
Date:   Tue Feb 12 00:22:22 2013 +0000

    No longer have to skip building tests.

 beust-jcommander.spec |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/beust-jcommander.spec b/beust-jcommander.spec
index 1f989b3..dbeacc6 100644
--- a/beust-jcommander.spec
+++ b/beust-jcommander.spec
@@ -2,7 +2,7 @@
 
 Name:             beust-%{short_name}
 Version:          1.30
-Release:          2%{?dist}.1
+Release:          2%{?dist}.2
 Summary:          Java framework for parsing command line parameters
 License:          ASL 2.0
 Group:            Development/Libraries
@@ -14,7 +14,7 @@ BuildArch:        noarch
 BuildRequires: java-devel
 BuildRequires: jpackage-utils
 BuildRequires: maven-local
-BuildRequires: testng
+BuildRequires: testng >= 6.1.1
 
 Requires: java
 Requires: jpackage-utils
@@ -36,8 +36,7 @@ This package contains the API documentation for %{name}.
 chmod -x license.txt
 
 %build
-mvn-rpmbuild -Dmaven.test.skip=true install javadoc:aggregate
-#mvn-rpmbuild install javadoc:aggregate
+mvn-rpmbuild install javadoc:aggregate
 
 %install
 # jars
@@ -64,6 +63,9 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
 %{_javadocdir}/%{name}
 
 %changelog
+* Mon Feb 11 2013 Mat Booth <fedora at matbooth.co.uk> - 1.30-2.2
+- Allow tests to be built now a newer testng is available.
+
 * Mon Feb 11 2013 Mat Booth <fedora at matbooth.co.uk> - 1.30-2.1
 - Remove experimental maven macros to allow building on F18
 


More information about the scm-commits mailing list