[eclipse-rse] Run reconciler in post.

sami wagiaalla swagiaal at fedoraproject.org
Wed Oct 5 20:40:14 UTC 2011


commit d93985221a7d9531a5440a8bf447ed2790a94163
Author: Sami Wagiaalla <swagiaal at redhat.com>
Date:   Wed Oct 5 12:05:10 2011 -0400

    Run reconciler in post.
    
    - Use the reconciler to install/uninstall plugins during rpm
      post and postun respectively.

 eclipse-rse.spec |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/eclipse-rse.spec b/eclipse-rse.spec
index 5e8fbe8..91b0ee5 100644
--- a/eclipse-rse.spec
+++ b/eclipse-rse.spec
@@ -4,7 +4,7 @@
 Name: eclipse-rse
 Summary: Eclipse Remote System Explorer
 Version: 3.2
-Release: 3%{?dist} 
+Release: 4%{?dist}
 License: EPL
 URL: http://www.eclipse.org/dsdp/tm/
 
@@ -24,7 +24,7 @@ BuildArch: noarch
 BuildRequires: eclipse-pde >= 1:3.4.1
 BuildRequires: eclipse-emf >= 0:2.4.1
 BuildRequires: jakarta-commons-net >= 0:1.4.1-5.4
-Requires: eclipse-platform >= 1:3.4.0
+Requires: eclipse-platform >= 1:3.7.0-5
 Requires: eclipse-emf >= 0:2.4.1
 Requires: jakarta-commons-net >= 0:2.0
 
@@ -37,6 +37,12 @@ that allows you to connect and work with a variety of remote systems.
 %prep
 %setup -q -c
 
+%post
+eclipse-reconciler.sh %{_libdir}/eclipse %{_tmppath} > /dev/null
+
+%postun
+eclipse-reconciler.sh %{_libdir}/eclipse %{_tmppath} > /dev/null
+
 %build
 
 rm -rf orbitdeps
@@ -84,6 +90,10 @@ rm -rf %{buildroot}
 %doc org.eclipse.rse.sdk-feature/license.html
 
 %changelog
+* Wed Oct 5 2011 Sami Wagiaalla <swagiaal at redhat.com> 3.2-4
+- Use the reconciler to install/uninstall plugins during rpm
+  post and postun respectively.
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list