[eclipse-ptp] Handle different eclipse-platform arches
Orion Poplawski
orion at fedoraproject.org
Thu Jan 31 04:48:42 UTC 2013
commit a6123f0085d3a020572af7d5dce8c4987f56b4c5
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Wed Jan 30 21:48:25 2013 -0700
Handle different eclipse-platform arches
eclipse-ptp.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/eclipse-ptp.spec b/eclipse-ptp.spec
index 2b5de31..9941c95 100644
--- a/eclipse-ptp.spec
+++ b/eclipse-ptp.spec
@@ -361,7 +361,7 @@ export JAVA_HOME=%{java_home}
export PATH=/usr/bin:$PATH
# Build the helper jar first
pushd org.eclipse.photran-%{photran_git_tag}/cdtdb-4.0.3-eclipse
-classpath=$(echo %{_libdir}/eclipse/plugins/org.eclipse.equinox.common_*.jar | sed -e 's/ /:/g')
+classpath=$(echo /usr/lib*/eclipse/plugins/org.eclipse.equinox.common_*.jar | sed -e 's/ /:/g')
find -name \*java -exec javac -classpath $classpath '{}' +
jar cf ../org.eclipse.rephraserengine.core/cdtdb-4.0.3-eclipse.jar *
popd
More information about the scm-commits
mailing list