mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 04:35:38 +08:00
Rename rtems4.7-base-binutils into binutils-common
This commit is contained in:
@@ -2,19 +2,24 @@
|
||||
# ==============================================================
|
||||
# @rpmprefix@rtems4.7-base-binutils
|
||||
# ==============================================================
|
||||
%package -n @rpmprefix@rtems4.7-base-binutils
|
||||
%package -n @rpmprefix@binutils-common
|
||||
Summary: Base package for RTEMS binutils
|
||||
Group: Development/Tools
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
|
||||
%description -n @rpmprefix@rtems4.7-base-binutils
|
||||
Provides: @rpmprefix@rtems4.7-base-binutils = %{binutils_version}-%{release}
|
||||
Obsoletes: @rpmprefix@rtems4.7-base-binutils
|
||||
Provides: @rpmprefix@rtems-base-binutils = %{binutils_version}-%{release}
|
||||
Obsoletes: @rpmprefix@rtems-base-binutils
|
||||
|
||||
%description -n @rpmprefix@binutils-common
|
||||
|
||||
RTEMS is an open source operating system for embedded systems.
|
||||
|
||||
This is the base for binutils regardless of target CPU.
|
||||
|
||||
%post -n @rpmprefix@rtems4.7-base-binutils
|
||||
%post -n @rpmprefix@binutils-common
|
||||
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
|
||||
@@ -24,7 +29,7 @@ This is the base for binutils regardless of target CPU.
|
||||
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gasp.info.gz
|
||||
%endif
|
||||
|
||||
%preun -n @rpmprefix@rtems4.7-base-binutils
|
||||
%preun -n @rpmprefix@binutils-common
|
||||
if [ $1 -eq 0 ]; then
|
||||
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@@ -36,7 +41,7 @@ if [ $1 -eq 0 ]; then
|
||||
%endif
|
||||
fi
|
||||
|
||||
%files -n @rpmprefix@rtems4.7-base-binutils
|
||||
%files -n @rpmprefix@binutils-common
|
||||
%defattr(-,root,root)
|
||||
%sysdir %{_infodir}
|
||||
%ghost %{_infodir}/dir
|
||||
|
||||
@@ -19,7 +19,8 @@ BuildRequires: flex
|
||||
BuildRequires: bison
|
||||
%if %build_infos
|
||||
|
||||
Requires: @rpmprefix@rtems4.7-base-binutils
|
||||
# Requires: @rpmprefix@rtems4.7-base-binutils
|
||||
Requires: @rpmprefix@binutils-common
|
||||
%endif
|
||||
|
||||
@SOURCES@
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# Summary: rtems binutils for @tool_target@
|
||||
# Group: Development/Tools
|
||||
# %if %build_infos
|
||||
# Requires: @rpmprefix@rtems4.7-base-binutils
|
||||
# Requires: @rpmprefix@binutils-common
|
||||
# %endif
|
||||
|
||||
%description -n @rpmprefix@@tool_target@-binutils
|
||||
|
||||
Reference in New Issue
Block a user