From e6ec314292f709f7274d312a0686c4989691d336 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 5 Jun 2014 10:46:42 +0200 Subject: [PATCH] Fix artifact pattern in %mvn_file invocation --- maven.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/maven.spec b/maven.spec index 76da529..64cdc1c 100644 --- a/maven.spec +++ b/maven.spec @@ -1,6 +1,6 @@ Name: maven Version: 3.2.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Java project management and project comprehension tool License: ASL 2.0 URL: http://maven.apache.org/ @@ -186,7 +186,7 @@ sed -i -e s:'-classpath "${M2_HOME}"/boot/plexus-classworlds-\*.jar':'-classpath %build # Put all JARs in standard location, but create symlinks in Maven lib # directory so that Plexus Classworlds can find them. -%mvn_file ":{*}:jar" %{name}/@1 %{_datadir}/%{name}/lib/@1 +%mvn_file ":{*}:jar:" %{name}/@1 %{_datadir}/%{name}/lib/@1 %mvn_build -- -Dproject.build.sourceEncoding=UTF-8 @@ -281,6 +281,9 @@ ln -sf $(build-classpath plexus/classworlds) \ %changelog +* Thu Jun 5 2014 Mikolaj Izdebski - 3.2.1-10 +- Fix artifact pattern in %%mvn_file invocation + * Wed Jun 4 2014 Mikolaj Izdebski - 3.2.1-9 - Install additional lib symlinks only for JAR files