[maven-surefire] Port to new %mvn_build macro
Mikolaj Izdebski
mizdebsk at fedoraproject.org
Mon Dec 10 09:44:22 UTC 2012
commit b6a2a4f7321b3c367d79649b6548011842052243
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Mon Dec 10 10:42:56 2012 +0100
Port to new %mvn_build macro
Newer versions of xmvn macros require arguments to be quoted.
maven-surefire.spec | 4 ++--
1 files 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
More information about the scm-commits
mailing list