]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Bundle fasttext as linux distributives are just useless
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 11 Nov 2023 14:39:36 +0000 (14:39 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 11 Nov 2023 14:39:36 +0000 (14:39 +0000)
rpm/rspamd.spec

index 0a5eecaa850c885e63458501b4dd09b7a9bd7b7d..7a1a15c92d5ee0ecfdf50fb70556e8a9485f9fae 100644 (file)
@@ -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}