This commit is contained in:
committed by
Git OBS Bridge
parent
a2afc99c64
commit
0ffa8e7b93
16
gdb.spec
16
gdb.spec
@@ -20,7 +20,7 @@
|
||||
Name: gdb
|
||||
Summary: The GNU Debugger
|
||||
Version: 6.8.50.20090116
|
||||
Release: 1
|
||||
Release: 2
|
||||
BuildRequires: bison dejagnu flex gcc-c++ gcc-fortran gcc-java gcc-objc python-devel readline-devel zlib-devel
|
||||
%if 0%{?suse_version} > 1020
|
||||
BuildRequires: libexpat-devel
|
||||
@@ -33,7 +33,6 @@ BuildRequires: libunwind-devel
|
||||
%ifnarch ppc64 s390x
|
||||
BuildRequires: gcc-ada
|
||||
%endif
|
||||
Recommends: python
|
||||
Url: http://www.gnu.org/software/gdb/
|
||||
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later
|
||||
Group: Development/Tools/Debuggers
|
||||
@@ -42,6 +41,7 @@ AutoReqProv: on
|
||||
Obsoletes: gdb-64bit
|
||||
%endif
|
||||
PreReq: %{install_info_prereq}
|
||||
Recommends: python
|
||||
%define sss -cvs
|
||||
Source: gdb-%{version}%{sss}.tar.bz2
|
||||
Patch: cell-combined.diff
|
||||
@@ -54,6 +54,7 @@ Patch7: pie-relocate.diff
|
||||
Patch8: find-separate-debug-file.diff
|
||||
Patch9: fix-gdb-backtrace.diff
|
||||
Patch10: expand-line-sal-maybe.diff
|
||||
Patch11: startup-inferior.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -123,6 +124,7 @@ Authors:
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%patch11
|
||||
|
||||
%build
|
||||
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
|
||||
@@ -133,10 +135,10 @@ Authors:
|
||||
%define target_list i686 ia64 powerpc powerpc64 s390 s390x x86_64
|
||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||
%if %build_multitarget
|
||||
ADDITIONAL_TARGETS="%(echo %target_list | sed -e 's/[^ ]\+/&-suse-linux/g')"
|
||||
ADDITIONAL_TARGETS="$ADDITIONAL_TARGETS spu-elf"
|
||||
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
|
||||
%else
|
||||
ADDITIONAL_TARGETS=
|
||||
EXTRA_TARGETS=
|
||||
%endif
|
||||
./configure CFLAGS="$RPM_OPT_FLAGS" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} --infodir=%{_infodir} \
|
||||
@@ -150,7 +152,7 @@ ADDITIONAL_TARGETS=
|
||||
--enable-64-bit-bfd --disable-werror --disable-sim \
|
||||
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion="GDB; %{DIST}" \
|
||||
--build=%{_target_cpu}-suse-linux \
|
||||
${ADDITIONAL_TARGETS:+--enable-targets="${ADDITIONAL_TARGETS// /,}"}
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?jobs:-j%jobs}
|
||||
make info
|
||||
|
||||
@@ -199,6 +201,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Jan 22 2009 schwab@suse.de
|
||||
- Update Cell combined debugger patch.
|
||||
* Fri Jan 16 2009 schwab@suse.de
|
||||
- Update to head of trunk.
|
||||
* Fri Jan 16 2009 bwalle@suse.de
|
||||
|
Reference in New Issue
Block a user