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: Drop --with debug .spec rules.
Date: Sat, 27 Jun 2026 23:55:23 GMT	[thread overview]
Message-ID: <178260452353.1.6492764936029732721.rpms-gdb-62c93b34354d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 62c93b34354db31e68b7f69aaef9de8d1db7d78f
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2012-02-10T05:03:15+01:00
Stats  : +5/-19 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/62c93b34354db31e68b7f69aaef9de8d1db7d78f?branch=gdb-17.2-rebase-f44

Log:
Drop --with debug .spec rules.

---
diff --git a/gdb.spec b/gdb.spec
index 12813dd..6c867ee 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -1,6 +1,5 @@
 # rpmbuild parameters:
 # --with testsuite: Run the testsuite (biarch if possible).  Default is without.
-# --with debug: Build without optimizations and without splitting the debuginfo.
 # --with upstream: No Fedora specific patches get applied.
 # --without python: No python support.
 # --with profile: gcc -fprofile-generate / -fprofile-use: Before better
@@ -18,7 +17,7 @@
 %endif
 
 Summary: A GNU source-level debugger for C, C++, Fortran and other languages
-Name: gdb%{?_with_debug:-debug}
+Name: gdb
 
 # Set version to contents of gdb/version.in.
 # NOTE: the FSF gdb versions are numbered N.M for official releases, like 6.3
@@ -28,7 +27,7 @@ Version: 7.4.50.%{snap}
 
 # 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: 12%{?_with_upstream:.upstream}%{?dist}
+Release: 13%{?_with_upstream:.upstream}%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain
 Group: Development/Debuggers
@@ -45,13 +44,6 @@ URL: http://gnu.org/software/gdb/
 %global gdb_build build-%{_target_platform}
 %global gdb_docdir %{_docdir}/%{name}-doc-%{version}
 
-%if 0%{?_with_debug:1}
-# Define this if you want to skip the strip step and preserve debug info.
-# Useful for testing.
-%global __debug_install_post : > %{_builddir}/%{?buildsubdir}/debugfiles.list
-%global debug_package %{nil}
-%endif
-
 # Make sure we get rid of the old package gdb64, now that we have unified
 # support for 32-64 bits in one single 64-bit gdb.
 %ifarch ppc64
@@ -861,12 +853,6 @@ cd %{gdb_build}$fprofile
 
 export CFLAGS="$RPM_OPT_FLAGS"
 
-%if 0%{?_with_debug:1}
-# --enable-werror could conflict with `-Wall -O0' but this is no longer true
-# for recent GCCs.
-CFLAGS="$CFLAGS -O0 -ggdb2"
-%endif
-
 ../configure							\
 	--prefix=%{_prefix}					\
 	--libdir=%{_libdir}					\
@@ -924,9 +910,6 @@ $(: RHEL-5 librpm has incompatible API. )			\
 	--without-mmap						\
 %endif
 	--enable-64-bit-bfd					\
-%if 0%{?_with_debug:1}
-	--enable-static --disable-shared --enable-debug		\
-%endif
 %ifarch sparc sparcv9
 	sparc-%{_vendor}-%{_target_os}%{?_gnu}
 %else
@@ -1240,6 +1223,9 @@ fi
 %{_infodir}/gdb.info*
 
 %changelog
+* Fri Feb 10 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120120-13.fc17
+- Drop --with debug .spec rules.
+
 * Thu Feb  9 2012 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.4.50.20120120-12.fc17
 - Improve performance for C++ symbols expansion (Tom Tromey, BZ 787487).
 - Install also gdb-gdb.py pretty printers.

                 reply	other threads:[~2026-06-27 23:55 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=178260452353.1.6492764936029732721.rpms-gdb-62c93b34354d@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