- Add Epoch on eclipse-platform.
- Use %%{_bindir} in post and postun scripts.
This commit is contained in:
parent
918f8ff82c
commit
1c4b7805a9
28
eclipse.spec
28
eclipse.spec
|
@ -23,7 +23,7 @@ ExclusiveArch: %{ix86} x86_64 ppc
|
|||
Summary: %{pkg_summary}
|
||||
Name: eclipse
|
||||
Version: %{eclipse_majmin}.%{eclipse_micro}_fc
|
||||
Release: 0.M6.18
|
||||
Release: 0.M6.19
|
||||
License: EPL
|
||||
Group: Text Editors/Integrated Development Environments (IDE)
|
||||
URL: http://www.eclipse.org/
|
||||
|
@ -146,7 +146,7 @@ Eclipse compiler for Java.
|
|||
%package platform
|
||||
Summary: Eclipse platform common files
|
||||
Group: Text Editors/Integrated Development Environments (IDE)
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
Provides: %{name} = %{epoch}:%{version}-%{release}
|
||||
Obsoletes: %{name}-sdk %{name}-ui %{name}-gtk2 eclipse
|
||||
Provides: %{name}-sdk = %{epoch}:%{version}-%{release}
|
||||
Provides: %{name}-ui = %{epoch}:%{version}-%{release}
|
||||
|
@ -834,21 +834,21 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
%if %{gcj_support}
|
||||
%post ecj
|
||||
/usr/bin/rebuild-gcj-db %{_libdir}
|
||||
%{_bindir}/rebuild-gcj-db %{_libdir}
|
||||
|
||||
%post jdt
|
||||
/usr/bin/rebuild-gcj-db %{_libdir}
|
||||
%{_bindir}/rebuild-gcj-db %{_libdir}
|
||||
|
||||
%post pde
|
||||
/usr/bin/rebuild-gcj-db %{_libdir}
|
||||
%{_bindir}/rebuild-gcj-db %{_libdir}
|
||||
|
||||
%post -n %{libname}-gtk2
|
||||
/usr/bin/rebuild-gcj-db %{_libdir}
|
||||
%{_bindir}/rebuild-gcj-db %{_libdir}
|
||||
%endif
|
||||
|
||||
%post platform
|
||||
%if %{gcj_support}
|
||||
/usr/bin/rebuild-gcj-db %{_libdir}
|
||||
%{_bindir}/rebuild-gcj-db %{_libdir}
|
||||
%endif
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
|
@ -857,21 +857,21 @@ fi
|
|||
|
||||
%if %{gcj_support}
|
||||
%postun ecj
|
||||
/usr/bin/rebuild-gcj-db %{_libdir}
|
||||
%{_bindir}/rebuild-gcj-db %{_libdir}
|
||||
|
||||
%postun jdt
|
||||
/usr/bin/rebuild-gcj-db %{_libdir}
|
||||
%{_bindir}/rebuild-gcj-db %{_libdir}
|
||||
|
||||
%postun pde
|
||||
/usr/bin/rebuild-gcj-db %{_libdir}
|
||||
%{_bindir}/rebuild-gcj-db %{_libdir}
|
||||
|
||||
%postun -n %{libname}-gtk2
|
||||
/usr/bin/rebuild-gcj-db %{_libdir}
|
||||
%{_bindir}/rebuild-gcj-db %{_libdir}
|
||||
%endif
|
||||
|
||||
%postun platform
|
||||
%if %{gcj_support}
|
||||
/usr/bin/rebuild-gcj-db %{_libdir}
|
||||
%{_bindir}/rebuild-gcj-db %{_libdir}
|
||||
%endif
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
|
@ -1042,6 +1042,10 @@ fi
|
|||
%{_datadir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.*_3.1.0
|
||||
|
||||
%changelog
|
||||
* Tue May 17 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M6.19
|
||||
- Add Epoch on eclipse-platform.
|
||||
- Use %%{_bindir} in post and postun scripts.
|
||||
|
||||
* Tue May 17 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.18
|
||||
- Add Epoch to jsch requires.
|
||||
|
||||
|
|
Loading…
Reference in New Issue