[eclipse-cdt] Change arch in org.eclipse.cdt.core.linux.%{eclipse_arch}

Jeff Johnston jjohnstn at fedoraproject.org
Mon Jun 30 06:40:46 UTC 2014


commit 16fbac117af8bd58fd1266fbc182dd24fcf359e1
Author: jjohnstn <jjohnstn at redhat.com>
Date:   Mon Jun 30 02:39:22 2014 -0400

    Change arch in org.eclipse.cdt.core.linux.%{eclipse_arch}
    
    - Also fix fragmentName for eclipse_arch in org.eclipse.cdt.core
      plugin.properties

 eclipse-cdt.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/eclipse-cdt.spec b/eclipse-cdt.spec
index 971431a..a78f8f0 100644
--- a/eclipse-cdt.spec
+++ b/eclipse-cdt.spec
@@ -172,12 +172,17 @@ sed -i -e 's/<arch>x86<\/arch>/<arch>%{eclipse_arch}<\/arch>/g' pom.xml
 # Add secondary arch support if we are building there
 %ifarch %{arm} s390 s390x aarch64
 pushd core
+pushd org.eclipse.cdt.core
+sed -i -e 's/linux.x86 /linux.%{eclipse_arch} /g' plugin.properties
+sed -i -e 's/\(x86\)/\(%{eclipse_arch}\)/g' plugin.properties
+popd
 cp -r org.eclipse.cdt.core.linux.x86 org.eclipse.cdt.core.linux.%{eclipse_arch}
 pushd org.eclipse.cdt.core.linux
 sed -i -e 's/<arch>x86<\/arch>/<arch>%{eclipse_arch}<\/arch>/g' pom.xml
 popd
 pushd org.eclipse.cdt.core.linux.%{eclipse_arch}
 sed -i -e 's/x86/%{eclipse_arch}/g' pom.xml
+sed -i -e 's/<arch>x86<\/arch>/<arch>%{eclipse_arch}<\/arch>/g' pom.xml
 pushd META-INF
 sed -i -e 's/x86/%{eclipse_arch}/g' MANIFEST.MF
 popd


More information about the scm-commits mailing list