Another try to fix symlink.
This commit is contained in:
parent
6ef230891c
commit
7c5e93446f
|
@ -258,8 +258,8 @@ ln -s ../%{name}/swt.jar ../java/swt.jar
|
|||
popd
|
||||
|
||||
# OSGI JAR symlink in javadir and maven depmap
|
||||
pushd $RPM_BUILD_ROOT%{_javadir}
|
||||
ln -s ../../../%{_libdir}/%{name}/plugins/org.eclipse.osgi_*.jar eclipse/osgi.jar
|
||||
pushd $RPM_BUILD_ROOT%{_javadir}/eclipse
|
||||
ln -s ../../../../%{_libdir}/%{name}/plugins/org.eclipse.osgi_*.jar osgi.jar
|
||||
popd
|
||||
install -m 0644 %{SOURCE5} $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP.eclipse-osgi.pom
|
||||
%add_maven_depmap JPP.eclipse-osgi.pom %{name}/osgi.jar -a "org.eclipse:osgi"
|
||||
|
|
Loading…
Reference in New Issue