public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: - Drop %{_datadir}/gdb/syscalls/* for unsupported arches.
@ 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 : 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).
^ 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 %{_datadir}/gdb/syscalls/* for unsupported arches Jan Kratochvil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox