[maven] Fix artifact pattern in %mvn_file invocation
Mikolaj Izdebski
mizdebsk at fedoraproject.org
Thu Jun 5 08:49:28 UTC 2014
commit e6ec314292f709f7274d312a0686c4989691d336
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Thu Jun 5 10:46:42 2014 +0200
Fix artifact pattern in %mvn_file invocation
maven.spec | 7 +++++--
1 files 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 <mizdebsk at redhat.com> - 3.2.1-10
+- Fix artifact pattern in %%mvn_file invocation
+
* Wed Jun 4 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.2.1-9
- Install additional lib symlinks only for JAR files
More information about the scm-commits
mailing list