]> source.dussan.org Git - rspamd.git/commitdiff
Various changes to CentOS RPM 1805/head
authorChristian Glombek <christian.glombek@rwth-aachen.de>
Tue, 22 Aug 2017 20:43:49 +0000 (22:43 +0200)
committerChristian Glombek <christian.glombek@rwth-aachen.de>
Tue, 22 Aug 2017 20:43:49 +0000 (22:43 +0200)
Update License to be the same as repo (ASL 2.0)
Remove hardcoded user and group
Add %{rspamd_pluginsdir}/lib/*.lua

centos/rspamd.spec

index f080460c97a6169d9e59a70551161b746def1b48..d1d370327cb388b6ef63d1af3f3cc391106ffd49 100644 (file)
@@ -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