[eclipse-ptp] Do not install photran components

Orion Poplawski orion at fedoraproject.org
Mon May 13 02:45:52 UTC 2013


commit 0817c7b17f4d62593ed6a5a190030bd2b6855787
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Sun May 12 20:45:45 2013 -0600

    Do not install photran components

 eclipse-ptp.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/eclipse-ptp.spec b/eclipse-ptp.spec
index 398bff8..7231907 100644
--- a/eclipse-ptp.spec
+++ b/eclipse-ptp.spec
@@ -364,6 +364,9 @@ mkdir -p %{buildroot}%{eclipse_base}/dropins/ptp/eclipse/{features,plugins}
 for jar in releng/org.eclipse.ptp.repo/target/repository/features/*.jar
 do
   name=$(basename $jar .jar)
+  # Skip photran components
+  [ ${name/org.eclipse.photran/} != $name ] && continue
+  [ ${name/org.eclipse.rephraserengine/} != $name ] && continue
   unzip -u -d %{buildroot}%{eclipse_base}/dropins/ptp/eclipse/features/$name $jar
   if [ $name == org.eclipse.ptp_%{version}.%{ptp_build_id} ]
   then


More information about the scm-commits mailing list