[eclipse] Add Requires(post/postun) to %_eclipse_pkg macro.
sami wagiaalla
swagiaal at fedoraproject.org
Thu Oct 27 14:00:49 UTC 2011
commit edc282711f137019e5e37e743b050437285e1509
Author: Sami Wagiaalla <swagiaal at redhat.com>
Date: Wed Oct 26 16:49:10 2011 -0400
Add Requires(post/postun) to %_eclipse_pkg macro.
eclipse.spec | 5 ++++-
macros.eclipse | 3 +++
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/eclipse.spec b/eclipse.spec
index ebbb0cd..0b8ea2b 100644
--- a/eclipse.spec
+++ b/eclipse.spec
@@ -16,7 +16,7 @@ Epoch: 1
Summary: An open, extensible IDE
Name: eclipse
Version: %{eclipse_majmin}.%{eclipse_micro}
-Release: 7%{?dist}
+Release: 8%{?dist}
License: EPL
Group: Text Editors/Integrated Development Environments (IDE)
URL: http://www.eclipse.org/
@@ -643,6 +643,9 @@ rm -rf %{_bindir}/efj/
%{_libdir}/%{name}/dropins/sdk
%changelog
+* Wed Oct 26 2011 Sami Wagiaalla <swagiaal at redhat.com> 1:3.7.0-8
+- Add Requires(post/postun) to _eclipse_pkg macro.
+
* Fri Oct 21 2011 Alexander Kurtakov <akurtako at redhat.com> 1:3.7.0-7
- Install org.eclipse.osgi in javadir/eclipse/osgi.jar
- Add maven pom and depmap.
diff --git a/macros.eclipse b/macros.eclipse
index 26e950e..9d539e8 100644
--- a/macros.eclipse
+++ b/macros.eclipse
@@ -11,6 +11,9 @@
end
} \
\
+Requires(post): eclipse-platform >= 1:3.7.0-8 \
+Requires(postun): eclipse-platform >= 1:3.7.0-8 \
+\
%post %__name \
touch /var/run/eclipse/run-reconciler \
\
More information about the scm-commits
mailing list