[eclipse-cdt] Run reconciler in post.
sami wagiaalla
swagiaal at fedoraproject.org
Wed Oct 5 17:39:52 UTC 2011
commit 3639135ece1433f8dbf1dcb1342aa0df22ff7728
Author: Sami Wagiaalla <swagiaal at redhat.com>
Date: Wed Oct 5 13:14:20 2011 -0400
Run reconciler in post.
- Use the reconciler to install/uninstall plugins during rpm
post and postun respectively.
eclipse-cdt.spec | 32 +++++++++++++++++++++++++++++++-
1 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/eclipse-cdt.spec b/eclipse-cdt.spec
index 9664660..85f518b 100644
--- a/eclipse-cdt.spec
+++ b/eclipse-cdt.spec
@@ -22,7 +22,7 @@ Epoch: 1
Summary: Eclipse C/C++ Development Tools (CDT) plugin
Name: eclipse-cdt
Version: %{majmin}.%{micro}
-Release: 5%{?dist}
+Release: 6%{?dist}
License: EPL and CPL
Group: Development/Tools
URL: http://www.eclipse.org/cdt
@@ -567,6 +567,32 @@ rm -rf ${installDir}-tests
%endif
%endif
+%post
+eclipse-reconciler.sh %{_libdir}/eclipse %{_tmppath} > /dev/null
+
+%postun
+eclipse-reconciler.sh %{_libdir}/eclipse %{_tmppath} > /dev/null
+
+%post parsers
+eclipse-reconciler.sh %{_libdir}/eclipse %{_tmppath} > /dev/null
+
+%postun parsers
+eclipse-reconciler.sh %{_libdir}/eclipse %{_tmppath} > /dev/null
+
+%post sdk
+eclipse-reconciler.sh %{_libdir}/eclipse %{_tmppath} > /dev/null
+
+%postun sdk
+eclipse-reconciler.sh %{_libdir}/eclipse %{_tmppath} > /dev/null
+
+%if %{ship_tests}
+%post tests
+eclipse-reconciler.sh %{_libdir}/eclipse %{_tmppath} > /dev/null
+
+%postun tests
+eclipse-reconciler.sh %{_libdir}/eclipse %{_tmppath} > /dev/null
+%endif
+
%clean
rm -rf ${RPM_BUILD_ROOT}
@@ -589,6 +615,10 @@ rm -rf ${RPM_BUILD_ROOT}
%endif
%changelog
+* Wed Oct 5 2011 Sami Wagiaalla <swagiaal at redhat.com> 1:8.0.0-6
+- Use the reconciler to install/uninstall plugins during rpm
+ post and postun respectively.
+
* Mon Jul 25 2011 Jeff Johnston <jjohnstn at redhat.com> 1:8.0.0-5
- Additional patch for https://bugs.eclipse.org/bugs/show_bug.cgi?id=351660
More information about the scm-commits
mailing list