From c6f27ce1a8f5736312944d3c2a94aaca9c134570 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Thu, 10 May 2018 09:08:12 +0200 Subject: [PATCH] Add support for riscv64 Signed-off-by: David Abdurachmanov --- systemtap.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/systemtap.spec b/systemtap.spec index 869f4e9..eab228d 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -3,7 +3,7 @@ %{!?with_htmldocs: %global with_htmldocs 0} %{!?with_monitor: %global with_monitor 1} # 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} %else %{!?with_crash: %global with_crash 1} @@ -38,7 +38,7 @@ %{!?with_python3_probes: %global with_python3_probes (0%{?fedora} >= 23 || 0%{?rhel} > 7)} %{!?with_httpd: %global with_httpd 0} -%ifarch ppc64le aarch64 +%ifarch ppc64le aarch64 riscv64 %global with_virthost 0 %endif @@ -77,7 +77,7 @@ Name: systemtap Version: 3.3 -Release: 0.20180508git9c6ac6cda49e%{?dist} +Release: 0.20180508git9c6ac6cda49e.0.riscv64%{?dist} # 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 # kernel variant (kernel-PAE, kernel-debug, etc.) devel package # installed. +%ifnarch riscv64 Requires: kernel-devel-uname-r +%endif %{?fedora:Suggests: kernel-devel} Requires: gcc make # Suggest: kernel-debuginfo @@ -1176,6 +1178,9 @@ done # PRERELEASE %changelog +* Thu May 10 2018 David Abdurachmanov - 3.3-0.20180508git9c6ac6cda49e.0.riscv64 +- Add support for riscv64 + * Tue May 08 2018 Frank Ch. Eigler - 3.3-0.20180508git9c6ac6cda49e - Automated weekly rawhide release - Applied spec changes from upstream git