diff --git a/rspamd.changes b/rspamd.changes index f0674ec..c1b1590 100644 --- a/rspamd.changes +++ b/rspamd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 17 20:30:05 UTC 2021 - Marcus Rueckert + +- use system libfmt and libzstd instead of building the intree copy + ------------------------------------------------------------------- Thu Aug 19 23:06:34 UTC 2021 - Michael Ströder diff --git a/rspamd.spec b/rspamd.spec index 3fdb036..8e35891 100644 --- a/rspamd.spec +++ b/rspamd.spec @@ -99,6 +99,7 @@ BuildRequires: pcre-devel BuildRequires: pcre2-devel %endif BuildRequires: pkgconfig +BuildRequires: pkgconfig(fmt) BuildRequires: pkgconfig(glib-2.0) >= 2.28 %if %{with ext_hiredis} BuildRequires: pkgconfig(hiredis) @@ -115,6 +116,7 @@ BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(systemd) %{?systemd_ordering} %endif +BuildRequires: pkgconfig(libzstd) %if 0%{?suse_version} < 1500 Requires: lua51-LPeg @@ -227,6 +229,8 @@ export CXX="g++-%{?force_gcc_version}" %if %{with jemalloc} -DENABLE_JEMALLOC=ON \ %endif + -DSYSTEM_FMT=ON \ + -DSYSTEM_ZSTD=ON \ -DDEBIAN_BUILD=1 \ -DRSPAMD_GROUP=%{rspamd_group} \ -DRSPAMD_USER=%{rspamd_user}