diff --git a/eclipse-jgit.spec b/eclipse-jgit.spec index a945ded..4162c13 100644 --- a/eclipse-jgit.spec +++ b/eclipse-jgit.spec @@ -122,6 +122,17 @@ done %pom_disable_module org.eclipse.jgit.benchmarks %pom_disable_module org.eclipse.jgit.coverage +# Don't build tests +%pom_disable_module org.eclipse.jgit.ant.test +%pom_disable_module org.eclipse.jgit.http.test +%pom_disable_module org.eclipse.jgit.lfs.test +%pom_disable_module org.eclipse.jgit.ssh.apache.test +%pom_disable_module org.eclipse.jgit.test +%pom_disable_module org.eclipse.jgit.gpg.bc.test +%pom_disable_module org.eclipse.jgit.lfs.server.test +%pom_disable_module org.eclipse.jgit.pgm.test +%pom_disable_module org.eclipse.jgit.ssh.jsch.test + # Use newer Felix dep %pom_change_dep -r org.osgi:org.osgi.core org.osgi:osgi.core diff --git a/jgit.spec b/jgit.spec index b749b33..e6bb579 100644 --- a/jgit.spec +++ b/jgit.spec @@ -64,7 +64,6 @@ BuildRequires: mvn(org.bouncycastle:bcpkix-jdk15on) BuildRequires: mvn(org.bouncycastle:bcprov-jdk15on) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.eclipse.jetty:jetty-servlet) -BuildRequires: mvn(org.mockito:mockito-core) BuildRequires: mvn(org.osgi:osgi.core) BuildRequires: mvn(org.slf4j:slf4j-api) BuildRequires: mvn(org.slf4j:slf4j-simple) @@ -131,6 +130,17 @@ done %pom_disable_module org.eclipse.jgit.benchmarks %pom_disable_module org.eclipse.jgit.coverage +# Don't build tests +%pom_disable_module org.eclipse.jgit.ant.test +%pom_disable_module org.eclipse.jgit.http.test +%pom_disable_module org.eclipse.jgit.lfs.test +%pom_disable_module org.eclipse.jgit.ssh.apache.test +%pom_disable_module org.eclipse.jgit.test +%pom_disable_module org.eclipse.jgit.gpg.bc.test +%pom_disable_module org.eclipse.jgit.lfs.server.test +%pom_disable_module org.eclipse.jgit.pgm.test +%pom_disable_module org.eclipse.jgit.ssh.jsch.test + # Use newer Felix dep %pom_change_dep -r org.osgi:org.osgi.core org.osgi:osgi.core