This commit is contained in:
committed by
Git OBS Bridge
parent
95e7fd3b6b
commit
a0d97d3583
53
gdb.spec
53
gdb.spec
@@ -1,10 +1,17 @@
|
||||
#
|
||||
# spec file for package gdb (Version 6.8.50.20080718)
|
||||
# spec file for package gdb (Version 6.8.50.20080808)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
@@ -29,7 +36,7 @@ Group: Development/Tools/Debuggers
|
||||
AutoReqProv: on
|
||||
PreReq: %{install_info_prereq}
|
||||
Summary: The GNU Debugger
|
||||
Version: 6.8.50.20080718
|
||||
Version: 6.8.50.20080808
|
||||
Release: 1
|
||||
%define sss -cvs
|
||||
Source: gdb-%{version}%{sss}.tar.bz2
|
||||
@@ -114,20 +121,31 @@ Authors:
|
||||
%patch10
|
||||
|
||||
%build
|
||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||
./configure --prefix=%{_prefix} --libdir=%{_libdir} --infodir=%{_infodir} \
|
||||
--mandir=%{_mandir} --with-system-readline \
|
||||
%ifarch ia64
|
||||
--with-libunwind \
|
||||
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
|
||||
%define build_multitarget 1
|
||||
%else
|
||||
--without-libunwind \
|
||||
%define build_multitarget 0
|
||||
%endif
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--enable-64-bit-bfd --disable-werror --disable-sim \
|
||||
--with-bugurl=http://bugs.opensuse.org/ \
|
||||
--with-pkgversion="GDB; %{DIST}" \
|
||||
--build=%{_target_cpu}-suse-linux \
|
||||
CFLAGS="$RPM_OPT_FLAGS"
|
||||
%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')"
|
||||
%else
|
||||
ADDITIONAL_TARGETS=
|
||||
%endif
|
||||
./configure CFLAGS="$RPM_OPT_FLAGS" \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} --infodir=%{_infodir} \
|
||||
--mandir=%{_mandir} --with-system-readline \
|
||||
%ifarch ia64
|
||||
--with-libunwind \
|
||||
%else
|
||||
--without-libunwind \
|
||||
%endif
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--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// /,}"}
|
||||
make %{?jobs:-j%jobs}
|
||||
make info
|
||||
|
||||
@@ -174,6 +192,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Aug 08 2008 schwab@suse.de
|
||||
- Update to head of trunk.
|
||||
- Enable multi-target support.
|
||||
* Fri Jul 18 2008 schwab@suse.de
|
||||
- Update to head of trunk.
|
||||
* Mon Jul 07 2008 schwab@suse.de
|
||||
|
Reference in New Issue
Block a user