Fix dangling symlinks in Maven lib dir

- Resolves: rhbz#1104396
This commit is contained in:
Mikolaj Izdebski 2014-06-04 08:36:15 +02:00
parent a798258719
commit a5dfcf7c00

View File

@ -1,6 +1,6 @@
Name: maven Name: maven
Version: 3.2.1 Version: 3.2.1
Release: 7%{?dist} Release: 8%{?dist}
Summary: Java project management and project comprehension tool Summary: Java project management and project comprehension tool
License: ASL 2.0 License: ASL 2.0
URL: http://maven.apache.org/ URL: http://maven.apache.org/
@ -186,7 +186,7 @@ sed -i -e s:'-classpath "${M2_HOME}"/boot/plexus-classworlds-\*.jar':'-classpath
%build %build
# Put all JARs in standard location, but create symlinks in Maven lib # Put all JARs in standard location, but create symlinks in Maven lib
# directory so that Plexus Classworlds can find them. # directory so that Plexus Classworlds can find them.
%mvn_file ":{*}" %{name}/@1 ../%{name}/lib/@1 %mvn_file ":{*}" %{name}/@1 %{_datadir}/%{name}/lib/@1
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8 %mvn_build -- -Dproject.build.sourceEncoding=UTF-8
@ -281,6 +281,10 @@ ln -sf $(build-classpath plexus/classworlds) \
%changelog %changelog
* Wed Jun 4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.1-8
- Fix dangling symlinks in Maven lib dir
- Resolves: rhbz#1104396
* Mon Jun 2 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.1-7 * Mon Jun 2 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.1-7
- Clean up patches - Clean up patches
- Add patch for MNG-5613 - Add patch for MNG-5613