Disable gcore on riscv64

RPM build errors:
BUILDSTDERR:     Macro expanded in comment on line 36: %{tarname}.tar.xz
BUILDSTDERR:     File not found: /builddir/build/BUILDROOT/gdb-8.1.50.20180522-15.0.riscv64.fc29.riscv64/usr/bin/gcore
BUILDSTDERR:     File not found: /builddir/build/BUILDROOT/gdb-8.1.50.20180522-15.0.riscv64.fc29.riscv64/usr/share/man/*/gcore.1*

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-06-03 17:50:53 +02:00
parent 87d8523fc9
commit 3b2376a85b
Signed by: davidlt
GPG Key ID: 7108702C938B13C1

View File

@ -938,8 +938,10 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/python/gdb/command/backtrace.py
%endif
%doc README NEWS
%{_bindir}/gdb
%ifnarch riscv64
%{_bindir}/gcore
%{_mandir}/*/gcore.1*
%endif
%{_bindir}/gstack
%{_mandir}/*/gstack.1*
%{_bindir}/pstack