From f219ae8d4a77799361734babf409856457e38659 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Thu, 20 Oct 2022 12:12:28 +0300 Subject: [PATCH] Add support for riscv64 Signed-off-by: David Abdurachmanov --- Botan-1.10.17-add-riscv64.patch | 7 +++++++ botan.spec | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 Botan-1.10.17-add-riscv64.patch diff --git a/Botan-1.10.17-add-riscv64.patch b/Botan-1.10.17-add-riscv64.patch new file mode 100644 index 0000000..c2da72d --- /dev/null +++ b/Botan-1.10.17-add-riscv64.patch @@ -0,0 +1,7 @@ +diff --git a/src/build-data/arch/riscv64.txt b/src/build-data/arch/riscv64.txt +new file mode 100644 +index 0000000..6e5e0ff +--- /dev/null ++++ b/src/build-data/arch/riscv64.txt +@@ -0,0 +1 @@ ++endian little diff --git a/botan.spec b/botan.spec index 6d8168b..e51d9bb 100644 --- a/botan.spec +++ b/botan.spec @@ -2,7 +2,7 @@ Name: botan Version: %{major_version}.17 -Release: 33%{?dist} +Release: 33.0.riscv64%{?dist} Summary: Crypto library written in C++ License: BSD @@ -20,6 +20,9 @@ Patch2: botan-1.10.13-python-init.patch # 2to3 doc/conf.py Patch3: botan-1.10.17-doc-conf-2to3.patch +# Add RISC-V (riscv64) +Patch9: Botan-1.10.17-add-riscv64.patch + BuildRequires: gcc-c++ BuildRequires: python3 BuildRequires: python3-devel @@ -193,6 +196,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate %changelog +* Thu Oct 20 2022 David Abdurachmanov - 1.10.17-33.0.riscv64 +- Add support for riscv64 + * Wed Jul 20 2022 Fedora Release Engineering - 1.10.17-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild