diff options
author | Christian Glombek <christian.glombek@rwth-aachen.de> | 2017-08-22 22:43:49 +0200 |
---|---|---|
committer | Christian Glombek <christian.glombek@rwth-aachen.de> | 2017-08-22 22:43:49 +0200 |
commit | b1717aafa379b007a093f16358acaf4b44fc03e2 (patch) | |
tree | 25e112832918a600373f4a9accc15012d47e0d9b /centos | |
parent | c23305457020e23d90a8c6db4bcb1d8f5d7d96ff (diff) | |
download | rspamd-b1717aafa379b007a093f16358acaf4b44fc03e2.tar.gz rspamd-b1717aafa379b007a093f16358acaf4b44fc03e2.zip |
Various changes to CentOS RPM
Update License to be the same as repo (ASL 2.0)
Remove hardcoded user and group
Add %{rspamd_pluginsdir}/lib/*.lua
Diffstat (limited to 'centos')
-rw-r--r-- | centos/rspamd.spec | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec index f080460c9..d1d370327 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -12,14 +12,7 @@ Version: 1.1.0 Release: 1 Summary: Rapid spam filtering system Group: System Environment/Daemons - -# BSD License (two clause) -# http://www.freebsd.org/copyright/freebsd-license.html -%if 0%{?suse_version} -License: BSD-2-Clause -%else -License: BSD2c -%endif +License: ASL 2.0 URL: https://rspamd.com BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} BuildRequires: glib2-devel,libevent-devel,openssl-devel,pcre-devel @@ -210,7 +203,7 @@ fi %config(noreplace) %{rspamd_confdir}/worker-fuzzy.inc %config(noreplace) %{rspamd_confdir}/worker-normal.inc %config(noreplace) %{rspamd_confdir}/modules.d/* -%attr(-, _rspamd, _rspamd) %dir %{rspamd_home} +%attr(-, %{rspamd_user}, %{rspamd_group}) %dir %{rspamd_home} %dir %{rspamd_rulesdir}/regexp %dir %{rspamd_rulesdir} %dir %{rspamd_confdir} @@ -225,6 +218,7 @@ fi %config(noreplace) %{rspamd_confdir}/surbl-whitelist.inc %config(noreplace) %{rspamd_confdir}/spf_dkim_whitelist.inc %config(noreplace) %{rspamd_confdir}/dmarc_whitelist.inc +%{rspamd_pluginsdir}/lib/*.lua %{rspamd_pluginsdir}/lua/*.lua %{rspamd_rulesdir}/regexp/*.lua %{rspamd_rulesdir}/*.lua |