This commit is contained in:
committed by
Git OBS Bridge
parent
b1d1244d3c
commit
95e7fd3b6b
15
gdb.spec
15
gdb.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package gdb (Version 6.8.50.20080708)
|
||||
# spec file for package gdb (Version 6.8.50.20080718)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
Name: gdb
|
||||
BuildRequires: bison dejagnu flex gcc-c++ gcc-fortran gcc-java gcc-objc readline-devel
|
||||
BuildRequires: bison dejagnu flex gcc-c++ gcc-fortran gcc-java gcc-objc readline-devel zlib-devel
|
||||
%if 0%{?suse_version} > 1020
|
||||
BuildRequires: libexpat-devel
|
||||
%else
|
||||
@@ -29,7 +29,7 @@ Group: Development/Tools/Debuggers
|
||||
AutoReqProv: on
|
||||
PreReq: %{install_info_prereq}
|
||||
Summary: The GNU Debugger
|
||||
Version: 6.8.50.20080708
|
||||
Version: 6.8.50.20080718
|
||||
Release: 1
|
||||
%define sss -cvs
|
||||
Source: gdb-%{version}%{sss}.tar.bz2
|
||||
@@ -114,6 +114,7 @@ Authors:
|
||||
%patch10
|
||||
|
||||
%build
|
||||
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
|
||||
./configure --prefix=%{_prefix} --libdir=%{_libdir} --infodir=%{_infodir} \
|
||||
--mandir=%{_mandir} --with-system-readline \
|
||||
%ifarch ia64
|
||||
@@ -122,7 +123,9 @@ Authors:
|
||||
--without-libunwind \
|
||||
%endif
|
||||
--with-separate-debug-dir=%{_prefix}/lib/debug \
|
||||
--enable-64-bit-bfd --disable-werror \
|
||||
--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"
|
||||
make %{?jobs:-j%jobs}
|
||||
@@ -136,9 +139,7 @@ make -k check || :
|
||||
%install
|
||||
make install-gdb install-info-gdb DESTDIR="$RPM_BUILD_ROOT"
|
||||
rm -f $RPM_BUILD_ROOT%{_bindir}/gdbtui
|
||||
rm -f $RPM_BUILD_ROOT%{_bindir}/run
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/gdbtui.1
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/run.1
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/stabs.info*
|
||||
|
||||
%clean
|
||||
@@ -173,6 +174,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Jul 18 2008 schwab@suse.de
|
||||
- Update to head of trunk.
|
||||
* Mon Jul 07 2008 schwab@suse.de
|
||||
- Update to head of trunk.
|
||||
* Wed Jun 18 2008 schwab@suse.de
|
||||
|
Reference in New Issue
Block a user