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 %{_datadir}/gdb/syscalls/* for unsupported arches.
Date: Sat, 27 Jun 2026 23:55:03 GMT	[thread overview]
Message-ID: <178260450335.1.10219908645847566611.rpms-gdb-14982af20a80@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 14982af20a801f9178f8c1594f3972046080cc1c
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2011-02-21T19:45:30+01:00
Stats  : +21/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/14982af20a801f9178f8c1594f3972046080cc1c?branch=gdb-17.2-rebase-f44

Log:
- Drop %{_datadir}/gdb/syscalls/* for unsupported arches.

---
diff --git a/gdb.spec b/gdb.spec
index 26ad3fe..a0fb1f6 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -27,7 +27,7 @@ Version: 7.2.50.20110218
 
 # 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: 24%{?_with_upstream:.upstream}%{?dist}
+Release: 25%{?_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
@@ -1167,6 +1167,23 @@ ln -s gstack $RPM_BUILD_ROOT%{_bindir}/pstack
 %endif # 0%{!?el5:1}
 %endif # 0%{!?_with_upstream:1}
 
+# Packaged GDB is not a cross-target one.
+(cd $RPM_BUILD_ROOT%{_datadir}/gdb/syscalls
+ rm -f mips*.xml
+%ifnarch sparc sparcv9 sparc64
+ rm -f sparc*.xml
+%endif
+%ifnarch x86_64
+ rm -f amd64-linux.xml
+%endif
+%ifnarch %{ix86} x86_64
+ rm -f i386-linux.xml
+%endif
+%ifnarch ppc ppc64
+ rm -f ppc{,64}-linux.xml
+%endif
+)
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -1234,6 +1251,9 @@ fi
 %{_infodir}/gdb.info*
 
 %changelog
+* Mon Feb 21 2011 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20110218-25.fc15
+- Drop %%{_datadir}/gdb/syscalls/* for unsupported arches.
+
 * Fri Feb 18 2011 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.2.50.20110218-24.fc15
 - Rebase to FSF GDB 7.2.50.20110218 (which is a 7.3 pre-release).
 - [vla] Fox Fortran vector slices for allocated arrays (for BZ 609782).

                 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=178260450335.1.10219908645847566611.rpms-gdb-14982af20a80@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