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 9967eb6..317cfee 100644 --- a/botan.spec +++ b/botan.spec @@ -2,7 +2,7 @@ Name: botan Version: %{major_version}.17 -Release: 35%{?dist} +Release: 35.0.riscv64%{?dist} Summary: Crypto library written in C++ License: BSD @@ -21,6 +21,8 @@ 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) +Patch9: Botan-1.10.17-add-riscv64.patch BuildRequires: gcc-c++ BuildRequires: python3 @@ -195,6 +197,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate %changelog +* Mon Mar 20 2023 David Abdurachmanov - 1.10.17-35.0.riscv64 +- Add support for riscv64 + * Sun Jan 22 2023 Thomas Moschny - 1.10.17-35 - Add patch to fix FTBFS.