From 385f81c7873e932f29999066049e426bc1b15c29 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 22 Jul 2006 02:40:16 +0000 Subject: Rename rtems4.7-base-gdb into gdb-common --- contrib/crossrpms/gdb/base-gdb.add | 19 +++++++++++-------- contrib/crossrpms/gdb/gdb.add | 4 ++-- contrib/crossrpms/gdb/target-gdb.add | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) (limited to 'contrib/crossrpms') diff --git a/contrib/crossrpms/gdb/base-gdb.add b/contrib/crossrpms/gdb/base-gdb.add index 29dfd74ff6..597cf2fd3b 100644 --- a/contrib/crossrpms/gdb/base-gdb.add +++ b/contrib/crossrpms/gdb/base-gdb.add @@ -1,20 +1,23 @@ %if %build_infos # ============================================================== -# @rpmprefix@rtems4.7-base-gdb +# @rpmprefix@gdb-common # ============================================================== -%package -n @rpmprefix@rtems4.7-base-gdb +%package -n @rpmprefix@gdb-common Summary: Base package for RTEMS gdbs Group: Development/Tools Requires(post): /sbin/install-info Requires(preun): /sbin/install-info -%description -n @rpmprefix@rtems4.7-base-gdb +Provides: @rpmprefix@rtems4.7-base-gdb = %{gdb_version}-%{release} +Obsoletes: @rpmprefix@rtems4.7-base-gdb +Provides: @rpmprefix@rtems-base-gdb = %{gdb_version}-%{release} +Obsoletes: @rpmprefix@rtems-base-gdb -RTEMS is an open source operating system for embedded systems. +%description -n @rpmprefix@gdb-common -This is the base for gdb regardless of target CPU. +GDB files shared by all targets. -%post -n @rpmprefix@rtems4.7-base-gdb +%post -n @rpmprefix@gdb-common /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz %if "%{gdb_version}" < "6.3" /sbin/install-info --info-dir=%{_infodir} %{_infodir}/mmalloc.info.gz @@ -27,7 +30,7 @@ This is the base for gdb regardless of target CPU. /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz %endif -%preun -n @rpmprefix@rtems4.7-base-gdb +%preun -n @rpmprefix@gdb-common if [ $1 -eq 0 ]; then /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz %if "%{gdb_version}" < "6.3" @@ -42,7 +45,7 @@ if [ $1 -eq 0 ]; then %endif fi -%files -n @rpmprefix@rtems4.7-base-gdb +%files -n @rpmprefix@gdb-common %defattr(-,root,root) %sysdir %{_infodir} %ghost %{_infodir}/dir diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add index 4b57b92f1f..2ad8fdd265 100644 --- a/contrib/crossrpms/gdb/gdb.add +++ b/contrib/crossrpms/gdb/gdb.add @@ -21,10 +21,10 @@ BuildRequires: libtermcap-devel BuildRequires: ncurses-devel %if %build_infos -Requires: @rpmprefix@rtems4.7-base-gdb +Requires: @rpmprefix@gdb-common %endif @SOURCES@ %description -Cross gdb for target @tool_target@ +GDB for target @tool_target@ diff --git a/contrib/crossrpms/gdb/target-gdb.add b/contrib/crossrpms/gdb/target-gdb.add index dc81bac8b4..090c1073e8 100644 --- a/contrib/crossrpms/gdb/target-gdb.add +++ b/contrib/crossrpms/gdb/target-gdb.add @@ -5,7 +5,7 @@ # Summary: rtems gdb for @tool_target@ # Group: Development/Tools # %if %build_infos -# Requires: @rpmprefix@rtems4.7-base-gdb +# Requires: @rpmprefix@gdb-common # %endif %description -n @rpmprefix@@tool_target@-gdb -- cgit v1.2.3