[randomizedtesting] add hamcrest as BR

gil gil at fedoraproject.org
Wed Feb 11 19:35:34 UTC 2015


commit f4ef06695871317a820d6c6c1bbf727922ebcbf1
Author: gil <puntogil at libero.it>
Date:   Wed Feb 11 20:35:20 2015 +0100

    add hamcrest as BR

 randomizedtesting.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/randomizedtesting.spec b/randomizedtesting.spec
index c874764..dff6a5a 100644
--- a/randomizedtesting.spec
+++ b/randomizedtesting.spec
@@ -20,6 +20,7 @@ BuildRequires: mvn(org.apache.maven:maven-core)
 BuildRequires: mvn(org.apache.maven:maven-plugin-api)
 BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
 BuildRequires: mvn(org.apache.maven.shared:maven-common-artifact-filters)
+BuildRequires: mvn(org.hamcrest:hamcrest-core)
 BuildRequires: mvn(org.simpleframework:simple-xml)
 BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
 %if 0
@@ -100,9 +101,13 @@ sed -i '/script.js/d' \
 %pom_xpath_remove "pom:scope[text()='provided']" junit4-ant
 sed -i 's/\r//' README randomized-runner/README
 
-%build
+# package org.hamcrest does not exist
+%pom_add_dep org.hamcrest:hamcrest-core randomized-runner
 
 %mvn_package :%{name}-parent %{name}-runner
+
+%build
+
 # Requires org.easytesting:fest-assert-core >= 2.0M6
 %mvn_build -f -s
 


More information about the scm-commits mailing list