Add support for riscv64

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-05-10 09:08:12 +02:00
parent c0bbf37078
commit c6f27ce1a8
1 changed files with 8 additions and 3 deletions

View File

@ -3,7 +3,7 @@
%{!?with_htmldocs: %global with_htmldocs 0} %{!?with_htmldocs: %global with_htmldocs 0}
%{!?with_monitor: %global with_monitor 1} %{!?with_monitor: %global with_monitor 1}
# crash is not available # crash is not available
%ifarch ppc ppc64 %{sparc} aarch64 ppc64le %{mips} %ifarch ppc ppc64 %{sparc} aarch64 ppc64le %{mips} riscv64
%{!?with_crash: %global with_crash 0} %{!?with_crash: %global with_crash 0}
%else %else
%{!?with_crash: %global with_crash 1} %{!?with_crash: %global with_crash 1}
@ -38,7 +38,7 @@
%{!?with_python3_probes: %global with_python3_probes (0%{?fedora} >= 23 || 0%{?rhel} > 7)} %{!?with_python3_probes: %global with_python3_probes (0%{?fedora} >= 23 || 0%{?rhel} > 7)}
%{!?with_httpd: %global with_httpd 0} %{!?with_httpd: %global with_httpd 0}
%ifarch ppc64le aarch64 %ifarch ppc64le aarch64 riscv64
%global with_virthost 0 %global with_virthost 0
%endif %endif
@ -77,7 +77,7 @@
Name: systemtap Name: systemtap
Version: 3.3 Version: 3.3
Release: 0.20180508git9c6ac6cda49e%{?dist} Release: 0.20180508git9c6ac6cda49e.0.riscv64%{?dist}
# for version, see also configure.ac # for version, see also configure.ac
@ -246,7 +246,9 @@ URL: http://sourceware.org/systemtap/
# The virtual provide 'kernel-devel-uname-r' tries to get the right # The virtual provide 'kernel-devel-uname-r' tries to get the right
# kernel variant (kernel-PAE, kernel-debug, etc.) devel package # kernel variant (kernel-PAE, kernel-debug, etc.) devel package
# installed. # installed.
%ifnarch riscv64
Requires: kernel-devel-uname-r Requires: kernel-devel-uname-r
%endif
%{?fedora:Suggests: kernel-devel} %{?fedora:Suggests: kernel-devel}
Requires: gcc make Requires: gcc make
# Suggest: kernel-debuginfo # Suggest: kernel-debuginfo
@ -1176,6 +1178,9 @@ done
# PRERELEASE # PRERELEASE
%changelog %changelog
* Thu May 10 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 3.3-0.20180508git9c6ac6cda49e.0.riscv64
- Add support for riscv64
* Tue May 08 2018 Frank Ch. Eigler <fche@redhat.com> - 3.3-0.20180508git9c6ac6cda49e * Tue May 08 2018 Frank Ch. Eigler <fche@redhat.com> - 3.3-0.20180508git9c6ac6cda49e
- Automated weekly rawhide release - Automated weekly rawhide release
- Applied spec changes from upstream git - Applied spec changes from upstream git