Fix require for lua lpeg on older SUSE versions

OBS-URL: https://build.opensuse.org/package/show/server:mail/rspamd?expand=0&rev=11
This commit is contained in:
Andreas Schneider 2018-03-12 13:23:35 +00:00 committed by Git OBS Bridge
parent 128c8260f7
commit 3f50f59f97

View File

@ -72,7 +72,12 @@ BuildRequires: pkgconfig(systemd)
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} < 1500
Requires: lua51-LPeg
%else
Requires: lua53-lpeg
%endif
%description
Rspamd is a spam filtering system that allows evaluation of messages