From b6a2a4f7321b3c367d79649b6548011842052243 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 10 Dec 2012 10:42:56 +0100 Subject: [PATCH] Port to new %mvn_build macro Newer versions of xmvn macros require arguments to be quoted. --- maven-surefire.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-surefire.spec b/maven-surefire.spec index f626d2c..04d6693 100644 --- a/maven-surefire.spec +++ b/maven-surefire.spec @@ -20,7 +20,7 @@ BuildRequires: plexus-utils BuildRequires: junit4 BuildRequires: testng -BuildRequires: maven-local, xmvn +BuildRequires: xmvn BuildRequires: maven-compiler-plugin BuildRequires: maven-help-plugin BuildRequires: maven-install-plugin @@ -158,7 +158,7 @@ sed -i 's:${shadedVersion}:%{version}:' surefire-integration-tests/pom.xml %build # tests turned off because they need jmock -%mvn_build -f -L (surefire-plugin|report-plugin|junit3|junit4|testng|failsafe-plugin)=>@1 +%mvn_build -f -L "(surefire-plugin|report-plugin|junit3|junit4|testng|failsafe-plugin)=>@1" %install %mvn_install