public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Drop --with debug .spec rules.
@ 2026-06-27 23:55 Jan Kratochvil
0 siblings, 0 replies; only message in thread
From: Jan Kratochvil @ 2026-06-27 23:55 UTC (permalink / raw)
To: git-commits
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.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-27 23:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 23:55 [rpms/gdb] gdb-17.2-rebase-f44: Drop --with debug .spec rules Jan Kratochvil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox