2003-09-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* base-g77.add, base-gcc.add, base-gcj.add, base-gnat.add,
	target-c++.add, target-g77.add, target-gcc.add, target-gcj.add,
	target-gnat.add, target-objc.add
	Add support for %{rpmprefix}, %{rpmgroup}.
	Use %{gcc_target and %{gcc_version}.
	Remove "Provides:".
	* gccnewlib.add: Ditto.
	Correct setting up _gcj.
	Explicitly build c++filt for gcc >= 3.3.
	* mkspec.in: Add support for %{rpmprefix}, %{rpmgroup}.
This commit is contained in:
Ralf Corsepius
2003-09-02 10:07:49 +00:00
parent dfed1a0ccd
commit a3cb326702
13 changed files with 180 additions and 147 deletions

View File

@@ -1,18 +1,17 @@
# ==============================================================
# rtems-base-gcc
# %{rpmprefix}rtems-base-gcc
# ==============================================================
%package -n rtems-base-gcc
Provides: rtems-base-gcc
%package -n %{rpmprefix}rtems-base-gcc
Summary: base package for rtems gcc and newlib C Library
Group: rtems
Group: %{rpmgroup}
%description -n rtems-base-gcc
%description -n %{rpmprefix}rtems-base-gcc
RTEMS is an open source operating system for embedded systems.
This is the files for gcc and newlib that are shared by all targets.
%files -n rtems-base-gcc
%files -n %{rpmprefix}rtems-base-gcc
%defattr(-,root,root)
%dir %{_prefix}/info
%doc %{_prefix}/info/cpp.info*.gz
@@ -33,7 +32,7 @@ This is the files for gcc and newlib that are shared by all targets.
%dir %{_prefix}/include
%post -n rtems-base-gcc
%post -n %{rpmprefix}rtems-base-gcc
if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
then
rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
@@ -43,7 +42,7 @@ This is the files for gcc and newlib that are shared by all targets.
done
fi
%postun -n rtems-base-gcc
%postun -n %{rpmprefix}rtems-base-gcc
if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
then
rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir