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

@@ -2,27 +2,26 @@
# ==============================================================
# rtems-base-g77
# ==============================================================
%package -n rtems-base-g77
Provides: rtems-base-g77
%package -n %{rpmprefix}rtems-base-g77
Summary: rtems base package for gcc/g77 compiler
Group: rtems
Group: %{rpmgroup}
Requires: rtems-base-gcc
%description -n rtems-base-g77
%description -n %{rpmprefix}rtems-base-g77
RTEMS is an open source operating system for embedded systems.
This is the files for gcc/g77 that are shared by all targets.
%files -n rtems-base-g77
%files -n %{rpmprefix}rtems-base-g77
%defattr(-,root,root)
%dir %{_prefix}/info
%doc %{_prefix}/info/g77.info*.gz
%dir %{_prefix}/man
%dir %{_prefix}/man/man1
%doc %{_prefix}/man/man1/@target_alias@-g77.1*
%doc %{_prefix}/man/man1/%{gcc_target}-g77.1*
%post -n rtems-base-g77
%post -n %{rpmprefix}rtems-base-g77
if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
then
rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
@@ -32,7 +31,7 @@ This is the files for gcc/g77 that are shared by all targets.
done
fi
%postun -n rtems-base-g77
%postun -n %{rpmprefix}rtems-base-g77
if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
then
rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir