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 1727451..ddef91f 100644 --- a/botan.spec +++ b/botan.spec @@ -6,7 +6,7 @@ Name: botan Version: %{major_version}.17 -Release: 9%{?dist} +Release: 9.0.riscv64%{?dist} Summary: Crypto library written in C++ Group: System Environment/Libraries @@ -22,6 +22,8 @@ Patch0: botan-1.10.5-ecc-fix.patch Patch1: botan-boost_python.patch # Fix wrong path Patch2: botan-1.10.13-python-init.patch +# Add RISC-V (riscv64) +Patch3: Botan-1.10.17-add-riscv64.patch BuildRequires: gcc-c++ BuildRequires: python2 @@ -125,6 +127,7 @@ interfaces may change in the future. %patch0 -p1 -b .eccfix %patch1 -p1 %patch2 -p1 +%patch3 -p1 -b .riscv64 # These tests will fail. rm -rf checks/ec_tests.cpp @@ -261,6 +264,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate %changelog +* Sat Nov 24 2018 David Abdurachmanov - 1.10.17-9.0.riscv64 +- Add support for RISCV (riscv64) + * Thu Jul 12 2018 Fedora Release Engineering - 1.10.17-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild