From cc9b1186a8f34aadb7be37ffcd4b4277545ac282bb312f1f4cbf0e7efbd0f27a Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 19 Oct 2007 13:09:59 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdb?expand=0&rev=25 --- gdb.changes | 5 +++++ gdb.spec | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/gdb.changes b/gdb.changes index 4dcd2aa..9587eb3 100644 --- a/gdb.changes +++ b/gdb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 19 15:02:27 CEST 2007 - olh@suse.de + +- allow build with old distributions, libexpat-devel is new in 10.3 + ------------------------------------------------------------------- Thu Oct 11 18:52:04 CEST 2007 - schwab@suse.de diff --git a/gdb.spec b/gdb.spec index 8221497..cd0eb18 100644 --- a/gdb.spec +++ b/gdb.spec @@ -11,7 +11,12 @@ # norootforbuild Name: gdb -BuildRequires: bison dejagnu flex gcc-c++ gcc-fortran gcc-java gcc-objc libexpat-devel readline-devel +BuildRequires: bison dejagnu flex gcc-c++ gcc-fortran gcc-java gcc-objc readline-devel +%if 0%{?suse_version} > 1020 +BuildRequires: libexpat-devel +%else +BuildRequires: expat +%endif %ifarch %ix86 x86_64 ia64 BuildRequires: libunwind-devel %endif @@ -24,7 +29,7 @@ Group: Development/Tools/Debuggers AutoReqProv: on PreReq: %{install_info_prereq} Version: 6.7 -Release: 1 +Release: 5 Summary: The GNU Debugger Source: gdb-%{version}.tar.bz2 Patch2: warn.patch @@ -131,6 +136,8 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/gdbserver.1.gz %endif %changelog +* Fri Oct 19 2007 - olh@suse.de +- allow build with old distributions, libexpat-devel is new in 10.3 * Thu Oct 11 2007 - schwab@suse.de - Update to gdb 6.7. * Resolved 101 resource leaks, null pointer dereferences, etc. in gdb,