forked from Imagelibrary/rtems
2003-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* binutils/base-binutils.add: Add osversion support.
* binutils/binutils.add: Add osversion support.
%setup -n %{name}-%{version}.
Don't remove c++filt.
* binutils/target-binutils.add: Add osversion support.
Pickup c++filt.
* gcc3newlib/base-g77.add: Add osversion support.
* gcc3newlib/base-gcc.add: Add osversion support.
* gcc3newlib/base-gcj.add: Add osversion support.
* gcc3newlib/base-gnat.add: Add osversion support.
* gcc3newlib/gccnewlib.add: Add osversion support.
Remove c++filt,
%setup -n -n %{name}-%{version}.
* gcc3newlib/target-c++.add: Add osversion support.
Don't pickup c++filt.
* gcc3newlib/target-g77.add: Add osversion support.
* gcc3newlib/target-gcc.add: Add osversion support.
* gcc3newlib/target-gcj.add: Add osversion support.
* gcc3newlib/target-gnat.add: Add osversion support.
* gccnewlib/gccnewlib.add: %setup -n %{name}-%{version}.
* gdb/base-gdb.add: Add osversion support, rpmgroup, rpmprefix,
gdb_version, gdb_target.
* gdb/target-gdb.add: Ditto.
* gdb/gdb.add: Ditto.
%setup -n -n %{name}-%{version}.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
# ==============================================================
|
||||
# rtems-base-binutils
|
||||
# ==============================================================
|
||||
%package -n %{rpmprefix}rtems-base-binutils
|
||||
%package -n %{rpmprefix}rtems@osversion@-base-binutils
|
||||
Summary: base package for rtems binutils
|
||||
Group: %{rpmgroup}
|
||||
PreReq: /sbin/install-info
|
||||
|
||||
%description -n %{rpmprefix}rtems-base-binutils
|
||||
%description -n %{rpmprefix}rtems@osversion@-base-binutils
|
||||
|
||||
RTEMS is an open source operating system for embedded systems.
|
||||
|
||||
This is the base for binutils regardless of target CPU.
|
||||
|
||||
%post -n %{rpmprefix}rtems-base-binutils
|
||||
%post -n %{rpmprefix}rtems@osversion@-base-binutils
|
||||
if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
|
||||
then
|
||||
rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
||||
@@ -22,7 +22,7 @@ This is the base for binutils regardless of target CPU.
|
||||
done
|
||||
fi
|
||||
|
||||
%postun -n %{rpmprefix}rtems-base-binutils
|
||||
%postun -n %{rpmprefix}rtems@osversion@-base-binutils
|
||||
if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
|
||||
then
|
||||
rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
||||
@@ -32,7 +32,7 @@ This is the base for binutils regardless of target CPU.
|
||||
done
|
||||
fi
|
||||
|
||||
%files -n %{rpmprefix}rtems-base-binutils -f files
|
||||
%files -n %{rpmprefix}rtems@osversion@-base-binutils -f files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_prefix}/info
|
||||
%doc %{_prefix}/info/dir
|
||||
|
||||
Reference in New Issue
Block a user