From 76a76e5524159a59cec144f654376d5bf81000cd Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 11 Nov 2023 14:39:36 +0000 Subject: [PATCH] [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} -- 2.39.5