From 7c97915b370a9175d07c25587bf802a98508245f Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 05:16:26 +0000 Subject: [PATCH] auto-import changelog data from gdb-6.1post-1.src.rpm Tue Jun 15 2004 Elliot Lee - rebuilt --- gdb.spec | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/gdb.spec b/gdb.spec index 2f96ee6..437ddbb 100644 --- a/gdb.spec +++ b/gdb.spec @@ -1,5 +1,4 @@ %define cvsdate 20040607 -ExcludeArch: s390 s390x x86_64 ppc ppc64 # Define this if you want to skip the strip step and preserve debug info. # Useful for testing. #define __spec_install_post /usr/lib/rpm/brp-compress || : @@ -7,7 +6,7 @@ Summary: A GNU source-level debugger for C, C++ and other languages. Name: gdb # Daily snapshot of gdb taken from FSF mainline cvs, after the 6.1 branchpoint. Version: 6.1post -Release: 0.%{cvsdate}.2.3 +Release: 1 License: GPL Group: Development/Debuggers Source: ftp://sources.redhat.com/pub/gdb/snapshots/current/gdb+dejagnu-20040607.tar.bz2 @@ -31,8 +30,6 @@ Patch2: gdb-6.1post-testsuite.patch Patch3: gdb-6.1post-libunwind-tst.patch # Silence gcc warnings. Patch4: gdb-6.1post-gccwarn.patch -Patch5: gdb-6.0post-pie-mar2004.patch -Patch6: gdb-6.0post-pie2-mar2004.patch ####### end patches from the previous RPM. BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo dejagnu libunwind >= 0.96-3 @@ -57,7 +54,7 @@ printing their data. %patch1 -p1 %patch2 -p1 %patch3 -p1 -%patch4 -p1 +%patch4 -p1 # Change the version that gets printed at GDB startup, so it is RedHat # specific. @@ -140,10 +137,10 @@ ld -v # For now do testing only on these platforms. %ifarch %{ix86} x86_64 s390x s390 ppc ia64 ppc64 echo ====================TESTING========================= -#cd gdb/testsuite -#make -k check || : -#test -r gdb.log && cat gdb.log | bzip2 -1 | uuencode gdb-%{_target_platform}.log.bz2 || : -#cd ../.. +cd gdb/testsuite +make -k check || : +test -r gdb.log && cat gdb.log | bzip2 -1 | uuencode gdb-%{_target_platform}.log.bz2 || : +cd ../.. echo ====================TESTING END===================== %endif @@ -166,20 +163,15 @@ chmod 755 $RPM_BUILD_ROOT%{_prefix}/bin/gcore # These are part of binutils rm -rf $RPM_BUILD_ROOT/usr/share/locale/ -rm -f $RPM_BUILD_ROOT%{_infodir}/bfd* -rm -f $RPM_BUILD_ROOT%{_infodir}/standard* -rm -f $RPM_BUILD_ROOT%{_infodir}/mmalloc* +rm -f $RPM_BUILD_ROOT%{_infodir}/bfd* $RPM_BUILD_ROOT%{_infodir}/standard* rm -f $RPM_BUILD_ROOT%{_infodir}/configure* -rm -rf $RPM_BUILD_ROOT/usr/include/ $RPM_BUILD_ROOT/%{_libdir}/lib{bfd*,opcodes*,iberty*,mmalloc*} +rm -rf $RPM_BUILD_ROOT/usr/include/ $RPM_BUILD_ROOT/%{_libdir}/lib{bfd*,opcodes*,iberty*} # Delete this too because the dir file will be updated at rpm install time. # We don't want a gdb specific one overwriting the system wide one. rm -f $RPM_BUILD_ROOT%{_infodir}/dir -path=`echo $RPM_BUILD_ROOT | sed s/install/BUILD/` -sed -i "s|$path||" $RPM_BUILD_ROOT%{_infodir}/*.info - %clean rm -rf $RPM_BUILD_ROOT @@ -193,8 +185,8 @@ rm -rf $RPM_BUILD_ROOT [ -f %{_infodir}/gdb.info.gz ] && /sbin/install-info %{_infodir}/gdb.info.gz %{_infodir}/dir || : [ -f %{_infodir}/gdbint.info ] && /sbin/install-info %{_infodir}/gdbint.info %{_infodir}/dir || : [ -f %{_infodir}/gdbint.info.gz ] && /sbin/install-info %{_infodir}/gdbint.info.gz %{_infodir}/dir || : -#[ -f %{_infodir}/mmalloc.info ] && /sbin/install-info %{_infodir}/mmalloc.info %{_infodir}/dir || : -#[ -f %{_infodir}/mmalloc.info.gz ] && /sbin/install-info %{_infodir}/mmalloc.info.gz %{_infodir}/dir || : +[ -f %{_infodir}/mmalloc.info ] && /sbin/install-info %{_infodir}/mmalloc.info %{_infodir}/dir || : +[ -f %{_infodir}/mmalloc.info.gz ] && /sbin/install-info %{_infodir}/mmalloc.info.gz %{_infodir}/dir || : [ -f %{_infodir}/stabs.info ] && /sbin/install-info %{_infodir}/stabs.info %{_infodir}/dir || : [ -f %{_infodir}/stabs.info.gz ] && /sbin/install-info %{_infodir}/stabs.info.gz %{_infodir}/dir || : @@ -206,8 +198,8 @@ if [ $1 = 0 ]; then [ -f %{_infodir}/gdb.info.gz ] && /sbin/install-info --delete %{_infodir}/gdb.info.gz %{_infodir}/dir || : [ -f %{_infodir}/gdbint.info ] && /sbin/install-info --delete %{_infodir}/gdbint.info %{_infodir}/dir || : [ -f %{_infodir}/gdbint.info.gz ] && /sbin/install-info --delete %{_infodir}/gdbint.info.gz %{_infodir}/dir || : -# [ -f %{_infodir}/mmalloc.info ] && /sbin/install-info --delete %{_infodir}/mmalloc.info %{_infodir}/dir || : -# [ -f %{_infodir}/mmalloc.info.gz ] && /sbin/install-info --delete %{_infodir}/mmalloc.info.gz %{_infodir}/dir || : + [ -f %{_infodir}/mmalloc.info ] && /sbin/install-info --delete %{_infodir}/mmalloc.info %{_infodir}/dir || : + [ -f %{_infodir}/mmalloc.info.gz ] && /sbin/install-info --delete %{_infodir}/mmalloc.info.gz %{_infodir}/dir || : [ -f %{_infodir}/stabs.info ] && /sbin/install-info --delete %{_infodir}/stabs.info %{_infodir}/dir || : [ -f %{_infodir}/stabs.info.gz ] && /sbin/install-info --delete %{_infodir}/stabs.info.gz %{_infodir}/dir || : fi @@ -216,17 +208,20 @@ fi %defattr(-,root,root) %doc COPYING COPYING.LIB README NEWS /usr/bin/* -#%{_libdir}/libmmalloc.a* +%{_libdir}/libmmalloc.a* %{_mandir}/*/* %{_infodir}/annotate.info* %{_infodir}/gdb.info* %{_infodir}/gdbint.info* %{_infodir}/stabs.info* -#%{_infodir}/mmalloc.info* +%{_infodir}/mmalloc.info* # don't include the files in include, they are part of binutils %changelog +* Tue Jun 15 2004 Elliot Lee +- rebuilt + * Thu Jun 10 2004 Elena Zannoni 0.200400607.2 - Fix Requires and BuildRequires for libunwind dependencies. - Add patch to silence gcc3.4 warnings.