[gdb] Do not remove %{_datadir}/gdb/syscalls/ppc*.xml as it is secondary target.
Jan Kratochvil
jankratochvil at fedoraproject.org
Tue Jul 1 17:54:40 UTC 2014
commit b73009e1d2c540e8f24f383e7b26f84dac74eec9
Author: Jan Kratochvil <jan.kratochvil at redhat.com>
Date: Tue Jul 1 19:54:42 2014 +0200
Do not remove %{_datadir}/gdb/syscalls/ppc*.xml as it is secondary target.
- Remove: %{_datadir}/gdb/guile
- Remove: %{_datadir}/gdb/system-gdbinit
gdb.spec | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/gdb.spec b/gdb.spec
index 11529ca..ba22a4e 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -25,7 +25,7 @@ Version: 7.7.90.%{snapsrc}
# 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: 7%{?dist}
+Release: 8%{?dist}
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain and GFDL
Group: Development/Debuggers
@@ -1220,9 +1220,6 @@ ln -s gstack $RPM_BUILD_ROOT%{_bindir}/pstack
%ifnarch %{ix86} x86_64
rm -f i386-linux.xml
%endif
-%ifnarch ppc ppc64
- rm -f ppc{,64}-linux.xml
-%endif
)
# Documentation only for development.
@@ -1234,6 +1231,15 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/stabs*
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+# /usr/share/gdb/guile/ gets installed even --without-guile
+# https://sourceware.org/bugzilla/show_bug.cgi?id=17105
+rm -rf $RPM_BUILD_ROOT%{_datadir}/gdb/guile
+
+# These files are unrelated to Fedora Linux.
+rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/system-gdbinit/elinos.py
+rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/system-gdbinit/wrs-linux.py
+rmdir $RPM_BUILD_ROOT%{_datadir}/gdb/system-gdbinit
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -1324,6 +1330,11 @@ then
fi
%changelog
+* Tue Jul 1 2014 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.7.90.20140627-8.fc21
+- Do not remove %{_datadir}/gdb/syscalls/ppc*.xml as it is secondary target.
+- Remove: %{_datadir}/gdb/guile
+- Remove: %{_datadir}/gdb/system-gdbinit
+
* Mon Jun 30 2014 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.7.90.20140627-7.fc21
- Fix crash on optimized-out entry data values (BZ 1111910).
More information about the scm-commits
mailing list