Add Requires(post/postun) to %_eclipse_pkg macro.

This commit is contained in:
Sami Wagiaalla 2011-10-26 16:49:10 -04:00
parent f0d70972c1
commit edc282711f
2 changed files with 7 additions and 1 deletions

View File

@ -16,7 +16,7 @@ Epoch: 1
Summary: An open, extensible IDE Summary: An open, extensible IDE
Name: eclipse Name: eclipse
Version: %{eclipse_majmin}.%{eclipse_micro} Version: %{eclipse_majmin}.%{eclipse_micro}
Release: 7%{?dist} Release: 8%{?dist}
License: EPL License: EPL
Group: Text Editors/Integrated Development Environments (IDE) Group: Text Editors/Integrated Development Environments (IDE)
URL: http://www.eclipse.org/ URL: http://www.eclipse.org/
@ -643,6 +643,9 @@ rm -rf %{_bindir}/efj/
%{_libdir}/%{name}/dropins/sdk %{_libdir}/%{name}/dropins/sdk
%changelog %changelog
* Wed Oct 26 2011 Sami Wagiaalla <swagiaal@redhat.com> 1:3.7.0-8
- Add Requires(post/postun) to _eclipse_pkg macro.
* Fri Oct 21 2011 Alexander Kurtakov <akurtako@redhat.com> 1:3.7.0-7 * Fri Oct 21 2011 Alexander Kurtakov <akurtako@redhat.com> 1:3.7.0-7
- Install org.eclipse.osgi in javadir/eclipse/osgi.jar - Install org.eclipse.osgi in javadir/eclipse/osgi.jar
- Add maven pom and depmap. - Add maven pom and depmap.

View File

@ -11,6 +11,9 @@
end end
} \ } \
\ \
Requires(post): eclipse-platform >= 1:3.7.0-8 \
Requires(postun): eclipse-platform >= 1:3.7.0-8 \
\
%post %__name \ %post %__name \
touch /var/run/eclipse/run-reconciler \ touch /var/run/eclipse/run-reconciler \
\ \