[eclipse-emf] Really fix RHBZ#894154.

Krzysztof Daniel kdaniel at fedoraproject.org
Mon Jan 28 08:53:42 UTC 2013


commit eed261a8e95636e6ae49becf041dad2f21a83b21
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date:   Mon Jan 28 09:53:35 2013 +0100

    Really fix RHBZ#894154.

 eclipse-emf.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/eclipse-emf.spec b/eclipse-emf.spec
index 807bb5d..cdccc04 100644
--- a/eclipse-emf.spec
+++ b/eclipse-emf.spec
@@ -7,7 +7,7 @@
 
 Name:      eclipse-emf
 Version:   2.8.1
-Release:   6%{?dist}
+Release:   7%{?dist}
 Summary:   Eclipse Modeling Framework (EMF) Eclipse plugin
 Group:     System Environment/Libraries
 License:   EPL
@@ -246,9 +246,11 @@ rm -rf %{buildroot}%{eclipse_dropin}/emf-sdk/eclipse/plugins/org.eclipse.emf.eco
 rm -rf %{buildroot}%{eclipse_dropin}/emf-sdk/eclipse/plugins/org.eclipse.emf.ecore.change_*
 rm -rf %{buildroot}%{eclipse_dropin}/emf-sdk/eclipse/plugins/org.eclipse.emf.ecore.xmi_*
 
-
+pushd %{buildroot}%{_javadir}/emf/eclipse/plugins/
+	EMF_EDIT=`ls | grep emf.edit`
+popd
 pushd %{buildroot}%{eclipse_dropin}/emf/eclipse/plugins
-	ln -s %{_javadir}/emf/eclipse/plugins/org.eclipse.emf.edit_*
+	ln -s %{_javadir}/emf/eclipse/plugins/${EMF_EDIT}
 popd
 %files
 %{eclipse_dropin}/emf
@@ -272,6 +274,9 @@ popd
 %{eclipse_dropin}/emf-examples
 
 %changelog
+* Mon Jan 28 2013 Krzysztof Daniel <kdaniel at redhat.com> 1:2.8.1-7
+- Really fix RHBZ#894154.
+
 * Thu Jan 17 2013 Krzysztof Daniel <kdaniel at redhat.com> 1:2.8.1-6
 - Move emf.edit back to eclipse-emf-core and symlink it.
 


More information about the scm-commits mailing list