commit 76a76e5: [Minor] Bundle fasttext as linux distributives are just useless

Vsevolod Stakhov vsevolod at rspamd.com
Sat Nov 11 14:42:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-11-11 14:39:36 +0000
URL: https://github.com/rspamd/rspamd/commit/76a76e5524159a59cec144f654376d5bf81000cd (HEAD -> master)

[Minor] Bundle fasttext as linux distributives are just useless

---
 rpm/rspamd.spec | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/rpm/rspamd.spec b/rpm/rspamd.spec
index 0a5eecaa8..7a1a15c92 100644
--- a/rpm/rspamd.spec
+++ b/rpm/rspamd.spec
@@ -34,9 +34,6 @@ BuildRequires:    lapack-devel
 BuildRequires:    libicu-devel
 BuildRequires:    libsodium-devel
 BuildRequires:    libunwind-devel
-%ifarch x86_64
-BuildRequires:    fasttext-devel
-%endif
 %if 0%{getenv:ASAN}
 %if 0%{?el7}
 BuildRequires:    devtoolset-10-libasan-devel
@@ -160,9 +157,8 @@ rm -f %{_builddir}/luajit-build/lib/*.so || true
 %else
         -DENABLE_LUAJIT=OFF \
 %endif
-%ifarch x86_64
         -DENABLE_FASTTEXT=ON \
-%endif
+        -DFASTTEXT_ROOT_DIR=/fasttext \
         -DENABLE_BLAS=ON
 make %{?_smp_mflags}
 


More information about the Commits mailing list