diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-07-07 15:27:46 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-07-07 15:29:01 +0200 |
commit | c868dc34c38cfc4886c6d0e18bc82620a236b07e (patch) | |
tree | 365e4b07a406b469cc3d9ca6e4d63e2f98c28d4e /centos/rspamd.spec | |
parent | 0fa9a9b37364ad21549efc21f47261d3ea80b760 (diff) | |
download | rspamd-c868dc34c38cfc4886c6d0e18bc82620a236b07e.tar.gz rspamd-c868dc34c38cfc4886c6d0e18bc82620a236b07e.zip |
[Fix] Update RPM spec/sources (#700)
Diffstat (limited to 'centos/rspamd.spec')
-rw-r--r-- | centos/rspamd.spec | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec index c3ba247c5..89bc0b087 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -23,7 +23,7 @@ License: BSD2c URL: https://rspamd.com BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} BuildRequires: glib2-devel,libevent-devel,openssl-devel,pcre-devel -BuildRequires: cmake,gmime,file-devel,perl-Digest-MD5 +BuildRequires: cmake,gmime-devel,file-devel,perl-Digest-MD5 %if 0%{?suse_version} || 0%{?el7} || 0%{?fedora} BuildRequires: systemd Requires(pre): systemd @@ -181,6 +181,8 @@ fi %if 0%{?el6} %{_initrddir}/%{name} %dir %{_localstatedir}/run/rspamd +%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} +%dir %{rspamd_logdir} %endif %{_mandir}/man8/%{name}.* %{_mandir}/man1/rspamc.* @@ -200,15 +202,10 @@ fi %config(noreplace) %{rspamd_confdir}/options.inc %config(noreplace) %{rspamd_confdir}/redirectors.inc %config(noreplace) %{rspamd_confdir}/worker-controller.inc +%config(noreplace) %{rspamd_confdir}/worker-fuzzy.inc %config(noreplace) %{rspamd_confdir}/worker-normal.inc %config(noreplace) %{rspamd_confdir}/modules.d/* %config(noreplace) %{rspamd_confdir}/rspamd.systemd.conf -%if 0%{?el6} -%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} -%endif -%if 0%{?el6} -%dir %{rspamd_logdir} -%endif %attr(-, _rspamd, _rspamd) %dir %{rspamd_home} %dir %{rspamd_rulesdir}/regexp %dir %{rspamd_rulesdir} |