Symlink _libdir directly.

This commit is contained in:
Alexander Kurtakov 2011-10-24 15:11:32 +03:00
parent 5211667820
commit 44d451d5a8

View File

@ -259,7 +259,7 @@ popd
# OSGI JAR symlink in javadir and maven depmap
pushd $RPM_BUILD_ROOT%{_javadir}/%{name}
ln -s ../../../%{_libdir}/%{name}/plugins/org.eclipse.osgi_*.jar osgi.jar
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"