[maven] Install additional lib symlinks only for JAR files
Mikolaj Izdebski
mizdebsk at fedoraproject.org
Wed Jun 4 10:32:05 UTC 2014
commit bcbfde73b3c036257ce41c06c7652b0f9723da8e
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Wed Jun 4 12:24:31 2014 +0200
Install additional lib symlinks only for JAR files
maven.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/maven.spec b/maven.spec
index 68c1a7a..76da529 100644
--- a/maven.spec
+++ b/maven.spec
@@ -1,6 +1,6 @@
Name: maven
Version: 3.2.1
-Release: 8%{?dist}
+Release: 9%{?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 ":{*}" %{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
+* Wed Jun 4 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.2.1-9
+- Install additional lib symlinks only for JAR files
+
* Wed Jun 4 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.2.1-8
- Fix dangling symlinks in Maven lib dir
- Resolves: rhbz#1104396
More information about the scm-commits
mailing list