Add temporary explicit maven-builder-support.jar symlink

This commit is contained in:
Mikolaj Izdebski 2015-03-16 07:19:20 +01:00
parent 516d4268ef
commit 77c20a0859

View File

@ -4,7 +4,7 @@
Name: xmvn
Version: 2.3.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Local Extensions for Apache Maven
License: ASL 2.0
URL: http://mizdebsk.fedorapeople.org/xmvn
@ -207,6 +207,9 @@ cp -r %{_datadir}/maven/lib/* %{buildroot}%{_datadir}/%{name}/lib/
# possibly recreate symlinks that can be automated with xmvn-subst
%{name}-subst %{buildroot}%{_datadir}/%{name}/
# XXX temp symlink needed for update to Maven >= 3.3.0
ln -s %{_javadir}/maven/maven-builder-support.jar %{buildroot}%{_datadir}/%{name}/lib/
# /usr/bin/xmvn script
cat <<EOF >%{buildroot}%{_bindir}/%{name}
#!/bin/sh -e
@ -300,6 +303,9 @@ end
%doc LICENSE NOTICE
%changelog
* Mon Mar 16 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.2-2
- Add temporary explicit maven-builder-support.jar symlink
* Thu Mar 12 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.2-1
- Update to upstream version 2.3.2