public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: [dts] [rhel6] Do not use mpfr as rhel6 has mpfr-2 while GDB requires mpfr-3.
Date: Sat, 27 Jun 2026 23:58:49 GMT	[thread overview]
Message-ID: <178260472983.1.18106942977001773238.rpms-gdb-138f53b360a0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 138f53b360a04c979da1ff83e0f3c07245dc4f91
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2018-07-12T12:26:40+02:00
Stats  : +11/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/138f53b360a04c979da1ff83e0f3c07245dc4f91?branch=gdb-17.2-rebase-f44

Log:
[dts] [rhel6] Do not use mpfr as rhel6 has mpfr-2 while GDB requires mpfr-3.

---
diff --git a/gdb.spec b/gdb.spec
index 8b74d3a..f928885 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -26,7 +26,7 @@ Version: 8.1.90.%{snapsrc}
 
 # 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: 32%{?dist}
+Release: 33%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
 Group: Development/Debuggers
@@ -244,8 +244,11 @@ BuildRequires: libipt-devel%{buildisa}
 %endif
 %endif
 %endif
+%if 0%{!?rhel:1} || 0%{?rhel} > 6
 # See https://bugzilla.redhat.com/show_bug.cgi?id=1593280
+# DTS RHEL-6 has mpfr-2 while GDB requires mpfr-3.
 BuildRequires: mpfr-devel%{buildisa}
+%endif
 
 %if 0%{?_with_testsuite:1}
 
@@ -614,7 +617,11 @@ $(: ppc64 host build crashes on ppc variant of libexpat.so )	\
 %else
 	--without-intel-pt					\
 %endif
+%if 0%{!?rhel:1} || 0%{?rhel} > 6
 	--with-mpfr						\
+%else
+	--without-mpfr						\
+%endif
 	      --with-auto-load-dir='$debugdir:$datadir/auto-load%{?scl::%{_root_datadir}/gdb/auto-load}'	\
 	--with-auto-load-safe-path='$debugdir:$datadir/auto-load%{?scl::%{_root_datadir}/gdb/auto-load}'	\
 %ifarch sparc sparcv9
@@ -1023,6 +1030,9 @@ fi
 %endif
 
 %changelog
+* Thu Jul 12 2018 Jan Kratochvil <jan.kratochvil@redhat.com> - 8.1.90.20180708-33.fc29
+- [dts] [rhel6] Do not use mpfr as rhel6 has mpfr-2 while GDB requires mpfr-3.
+
 * Thu Jul 12 2018 Jan Kratochvil <jan.kratochvil@redhat.com> - 8.1.90.20180708-32.fc29
 - Remove as no longer needed:
   Workaround gcc-8.0: -Wno-error=cast-function-type,stringop-truncation

                 reply	other threads:[~2026-06-27 23:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178260472983.1.18106942977001773238.rpms-gdb-138f53b360a0@fedoraproject.org \
    --to=jan.kratochvil@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox