public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Kolar <mkolar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] rawhide: Fix rpmlint errors
Date: Mon, 23 Nov 2026 16:11:15 GMT [thread overview]
Message-ID: <179545027590.1.1678573437291730930.rpms-gdb-84959ab447c0@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gdb
Branch : rawhide
Commit : 84959ab447c0a1d60f2a169422165067332dc897
Author : Michal Kolar <mkolar@redhat.com>
Date : 2026-11-23T13:03:10+01:00
Stats : +27/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/gdb/c/84959ab447c0a1d60f2a169422165067332dc897?branch=rawhide
Log:
Fix rpmlint errors
Shorten the gdb-minimal Summary (89 characters, limit 80) and make it
consistent with the other subpackages:
"A minimal version of GDB (the GNU source-level debugger)".
Add rpmlint.toml filtering errors that cannot be fixed downstream:
- invalid-soname for libinproctrace.so: gdbserver's in-process agent,
built upstream with an unversioned soname.
- incorrect-fsf-address in COPYING and COPYING.LIB: verbatim upstream
license texts, which must not be modified.
- no-binary on gdb.i686: the wrapper package has no ELF binary but
cannot be noarch because it owns %{_libdir}/gdb.
- files-duplicated-waste in gdb-debugsource: the minimal and full builds
generate identical sources in their own build directories. Fedora
hardlinks them after %install (linkdupes from add-determinism), ELN
and RHEL-like targets do not.
---
diff --git a/gdb.spec b/gdb.spec
index 2d88167..191d01a 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -274,7 +274,7 @@ and printing their data.
%if 0%{?_build_minimal}
%package minimal
-Summary: A GNU source-level debugger for C, C++, Fortran, Go and other languages (minimal version)
+Summary: A minimal version of GDB (the GNU source-level debugger)
# gdb-add-index is shared with gdb-headless and it must be from same version
Conflicts: %{name}-headless < %{version}-%{release}
Conflicts: %{name}-headless > %{version}-%{release}
diff --git a/rpmlint.toml b/rpmlint.toml
new file mode 100644
index 0000000..51341d2
--- /dev/null
+++ b/rpmlint.toml
@@ -0,0 +1,26 @@
+# rpmlint configuration for gdb.
+#
+# Local use: rpmlint -c rpmlint.toml gdb.spec *.rpm
+Filters = [
+ # libinproctrace.so is gdbserver's in-process agent for fast
+ # tracepoints. It is loaded into the debugged program (LD_PRELOAD or
+ # explicit linking), is not a general-purpose library, and upstream
+ # builds it with the unversioned soname "libinproctrace.so".
+ 'gdb-gdbserver\.\S+: E: invalid-soname .*/libinproctrace\.so ',
+
+ # Verbatim upstream GNU license texts (GPLv2, LGPLv2) carrying the old
+ # FSF postal address; license texts must not be modified downstream.
+ 'gdb\.\S+: E: incorrect-fsf-address /usr/share/licenses/gdb/COPYING(\.LIB)?$',
+
+ # On 32-bit arches the gdb wrapper package contains only scripts, a
+ # symlink, a header and the empty %{_libdir}/gdb directory, so it has
+ # no ELF binary. It cannot be noarch because %{_libdir} differs per
+ # arch.
+ 'gdb\.i686: E: no-binary$',
+
+ # The minimal and full builds generate identical sources (bison
+ # output, bfd.h, ...) in their own build directories, and both copies
+ # end up in debugsource. Fedora hardlinks them after %install
+ # (linkdupes from add-determinism); ELN and RHEL-like targets do not.
+ 'gdb-debugsource\.\S+: E: files-duplicated-waste \d+$',
+]
reply other threads:[~2026-11-23 16:11 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=179545027590.1.1678573437291730930.rpms-gdb-84959ab447c0@fedoraproject.org \
--to=mkolar@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