diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-11-11 14:39:36 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-11-11 14:39:36 +0000 |
commit | 76a76e5524159a59cec144f654376d5bf81000cd (patch) | |
tree | efa4fb90eeac0a68b22463dee8aa0090a4d800ea /rpm | |
parent | 4957d00ebda9ed158384d1a4a467b42ea930a503 (diff) | |
download | rspamd-76a76e5524159a59cec144f654376d5bf81000cd.tar.gz rspamd-76a76e5524159a59cec144f654376d5bf81000cd.zip |
[Minor] Bundle fasttext as linux distributives are just useless
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/rspamd.spec | 6 |
1 files changed, 1 insertions, 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} |