diff --git a/gdb.spec b/gdb.spec index 40b46b4..8f2442b 100644 --- a/gdb.spec +++ b/gdb.spec @@ -13,7 +13,7 @@ Version: 6.8 # The release always contains a leading reserved number, start it at 1. # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing. -Release: 31%{?_with_upstream:.upstream}%{?dist} +Release: 32%{?_with_upstream:.upstream}%{?dist} License: GPLv3+ Group: Development/Debuggers @@ -428,7 +428,7 @@ Patch348: gdb-6.8-bz466901-backtrace-full-prelinked.patch # Enable ia64 hardware watchpoints if created before starting inferior. Patch349: gdb-6.8-ia64-exec-hw-watchpoint.patch -BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo dejagnu gettext +BuildRequires: ncurses-devel texinfo dejagnu gettext BuildRequires: flex bison sharutils expat-devel Requires: readline BuildRequires: readline-devel @@ -814,8 +814,8 @@ rm -rf $RPM_BUILD_ROOT make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT # install the gcore script in /usr/bin -cp $RPM_BUILD_DIR/%{gdb_src}/gdb/gdb_gcore.sh $RPM_BUILD_ROOT%{_prefix}/bin/gcore -chmod 755 $RPM_BUILD_ROOT%{_prefix}/bin/gcore +cp $RPM_BUILD_DIR/%{gdb_src}/gdb/gdb_gcore.sh $RPM_BUILD_ROOT%{_bindir}/gcore +chmod 755 $RPM_BUILD_ROOT%{_bindir}/gcore # Remove the gdb/gdbtui binaries duplicity. test -x $RPM_BUILD_ROOT%{_prefix}/bin/gdbtui @@ -827,12 +827,12 @@ ln -sf gdb.1 $RPM_BUILD_ROOT%{_mandir}/*/gdbtui.1 # provided by other packages. # These are part of binutils -rm -rf $RPM_BUILD_ROOT/usr/share/locale/ -rm -f $RPM_BUILD_ROOT%{_infodir}/bfd* +rm -rf $RPM_BUILD_ROOT%{_datadir}/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}/configure* -rm -rf $RPM_BUILD_ROOT/usr/include/ +rm -rf $RPM_BUILD_ROOT%{_includedir} rm -rf $RPM_BUILD_ROOT/%{_libdir}/lib{bfd*,opcodes*,iberty*,mmalloc*} # Delete this too because the dir file will be updated at rpm install time. @@ -896,6 +896,9 @@ fi %endif %changelog +* Mon Dec 1 2008 Stepan Kasal - 6.8-32 +- Remove trivial BuildRequires, use rpm macros in a few remaining places. + * Tue Nov 18 2008 Jan Kratochvil - 6.8-31 - Enable ia64 hardware watchpoints if created before starting inferior.