rpms/gdb/devel gdb.spec,1.259,1.260
Jan Kratochvil (jkratoch)
fedora-extras-commits at redhat.com
Fri Nov 23 23:25:33 UTC 2007
Author: jkratoch
Update of /cvs/pkgs/rpms/gdb/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16130
Modified Files:
gdb.spec
Log Message:
* Sat Nov 24 2007 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.7.1-5
- Reduce the excessive gcc-* packages dependencies outside of mock/koji.
Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb.spec,v
retrieving revision 1.259
retrieving revision 1.260
diff -u -r1.259 -r1.260
--- gdb.spec 16 Nov 2007 02:15:40 -0000 1.259
+++ gdb.spec 23 Nov 2007 23:25:00 -0000 1.260
@@ -11,7 +11,7 @@
Version: 6.7.1
# The release always contains a leading reserved number, start it at 1.
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL
Group: Development/Debuggers
@@ -331,9 +331,9 @@
Requires: readline
BuildRequires: readline-devel
-# BuildRequires only for the complete testsuite run.
-# Omit them on local user builds.
-%if 0%{?dist:1}
+# BuildRequires are provided here only for the complete testsuite run.
+# Omit them on local user builds. %{_topdir} checks for mock (and so even Koji).
+%if "%{_topdir}" == "/builddir/build"
# gcc-objc++ is not covered by the GDB testsuite.
BuildRequires: gcc gcc-c++ gcc-gfortran gcc-java gcc-objc
# Copied from gcc-4.1.2-32
@@ -497,8 +497,8 @@
cd %{gdb_build}
# g77 executable is no longer present in Fedora gcc-4.x+.
-g77="`which gfortran 2>/dev/null`"
-test -n "$g77" && ln -s "$g77" ./g77
+g77="`which gfortran 2>/dev/null || true`"
+test -z "$g77" || ln -s "$g77" ./g77
# FIXME: The configure option --enable-gdb-build-warnings=,-Werror
# below can conflict with user settings. For instance, passing a
@@ -629,6 +629,9 @@
# don't include the files in include, they are part of binutils
%changelog
+* Sat Nov 24 2007 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.7.1-5
+- Reduce the excessive gcc-* packages dependencies outside of mock/koji.
+
* Fri Nov 16 2007 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.7.1-4
- Fix `errno' resolving across separate debuginfo files.
- Fix segfault on no file loaded, `set debug solib 1', `info sharedlibrary'.
More information about the scm-commits
mailing list