Add support for riscv64

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2021-04-26 08:32:58 +03:00
parent 274112ffb8
commit 2cf2705dd3
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -1,4 +1,4 @@
%bcond_with bootstrap
%bcond_without bootstrap
%ifarch s390x
# workaround https://github.com/mono/mono/issues/9009#issuecomment-477073609
@ -6,7 +6,7 @@
%endif
%if 0%{?el6}
# see https://fedorahosted.org/fpc/ticket/395, it was added to el7
%global mono_arches %{ix86} x86_64 sparc sparcv9 ia64 %{arm} alpha s390x ppc ppc64 ppc64le
%global mono_arches %{ix86} x86_64 sparc sparcv9 ia64 %{arm} alpha s390x ppc ppc64 ppc64le riscv64
%global _monodir %{_prefix}/lib/mono
%global _monogacdir %{_monodir}/gac
%endif
@ -24,7 +24,7 @@
%global xamarinrelease 122
Name: mono
Version: 6.12.0
Release: 4%{?dist}
Release: 4.0.riscv64%{?dist}
Summary: Cross-platform, Open Source, .NET development framework
License: MIT
@ -68,7 +68,9 @@ BuildRequires: gettext-devel
BuildRequires: libicu-devel
BuildRequires: libgdiplus-devel >= 2.10
BuildRequires: pkgconfig
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
%endif
BuildRequires: zlib-devel
BuildRequires: perl-Getopt-Long
@ -941,6 +943,9 @@ cert-sync /etc/pki/tls/certs/ca-bundle.crt
%files complete
%changelog
* Mon Apr 26 2021 David Abdurachmanov <david.abdurachmanov@gmail.com> - 6.12.0-4.0.riscv64
- Add support for riscv64
* Sat Feb 27 2021 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 6.12.0-4
- Upgrade to Mono 6.12.0.122