mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-28 23:40:15 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user