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 efbb6a0..e68bc98 100644 --- a/botan.spec +++ b/botan.spec @@ -2,7 +2,7 @@ Name: botan Version: %{major_version}.17 -Release: 41%{?dist} +Release: 42%{?dist} Summary: Crypto library written in C++ License: BSD @@ -21,6 +21,10 @@ Patch2: botan-1.10.13-python-init.patch Patch3: botan-1.10.17-doc-conf-2to3.patch # Fix FTBFS Patch4: botan-1.10.17-u64bit.patch +# Add RISC-V (riscv64) +# Upstream in later versions: +# https://github.com/randombit/botan/blob/master/src/build-data/arch/riscv64.txt +Patch9: Botan-1.10.17-add-riscv64.patch BuildRequires: gcc-c++ BuildRequires: python3 @@ -195,6 +199,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate %changelog +* Sat Feb 24 2024 David Abdurachmanov - 1.10.17-42 +- Add support for riscv64 + * Tue Jan 23 2024 Fedora Release Engineering - 1.10.17-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild