commit f87adca7913cc4cc9b71f28fea22e9b3eeb3ca87 Author: Alexander Kurtakov <akurtako@xxxxxxxxxx> Date: Mon Nov 8 22:07:57 2010 +0200 - Remove tests as they don't compile. maven-archiver.spec | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 deletions(-) --- diff --git a/maven-archiver.spec b/maven-archiver.spec index 223dd61..bfe014f 100644 --- a/maven-archiver.spec +++ b/maven-archiver.spec @@ -30,7 +30,7 @@ Name: maven-archiver Version: 2.4.1 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 0 Summary: Maven Archiver License: ASL 2.0 @@ -48,13 +48,13 @@ BuildArch: noarch BuildRequires: java-devel >= 1:1.6.0 BuildRequires: jpackage-utils >= 0:1.7.2 BuildRequires: maven2 >= 0:2.0.8 -BuildRequires: maven2-plugin-compiler -BuildRequires: maven2-plugin-install -BuildRequires: maven2-plugin-jar -BuildRequires: maven2-plugin-javadoc -BuildRequires: maven2-plugin-resources -BuildRequires: maven2-plugin-site -BuildRequires: maven-surefire-maven-plugin +BuildRequires: maven-compiler-plugin +BuildRequires: maven-install-plugin +BuildRequires: maven-jar-plugin +BuildRequires: maven-javadoc-plugin +BuildRequires: maven-resources-plugin +BuildRequires: maven-site-plugin +BuildRequires: maven-surefire-plugin BuildRequires: maven-surefire-provider-junit BuildRequires: maven-doxia-sitetools BuildRequires: maven-shared-jar @@ -87,6 +87,9 @@ Javadoc for %{name}. %prep %setup -q -n %{name} +#tests don't compile with maven 2.2.1 +rm -fr src/test/java/org/apache/maven/archiver/*.java + %build export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository @@ -135,6 +138,9 @@ rm -rf $RPM_BUILD_ROOT %doc %{_javadocdir}/* %changelog +* Mon Nov 8 2010 Alexander Kurtakov <akurtako@xxxxxxxxxx> 0:2.4.1-3 +- Remove tests as they don't compile. + * Mon May 31 2010 Alexander Kurtakov <akurtako@xxxxxxxxxx> 0:2.4.1-2 - BR java-devel >= 1:1.6.0. -- java-devel mailing list java-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/java-devel