diff options
author | Andrew Lewis <nerf@judo.za.org> | 2015-02-03 14:53:18 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2015-02-03 14:53:18 +0200 |
commit | 2fa2e9b3e77a3e9847765110b6e42d155cebe7aa (patch) | |
tree | 845c5705df5a28378126d56156822f454c408534 /centos | |
parent | 571955cc193551603092e81788cf9bbceac44edf (diff) | |
download | rspamd-2fa2e9b3e77a3e9847765110b6e42d155cebe7aa.tar.gz rspamd-2fa2e9b3e77a3e9847765110b6e42d155cebe7aa.zip |
Cosmetic changes
Diffstat (limited to 'centos')
-rw-r--r-- | centos/rspamd.spec | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec index 6694957fd..e39f34fb6 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -30,35 +30,27 @@ License: BSD2c %endif URL: https://rspamd.com BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} -%if 0%{?suse_version} -BuildRequires: cmake,glib2-devel,gmime-devel,libevent-devel,openssl-devel,lua-devel,pcre-devel,perl,sqlite3-devel -%endif -%if 0%{?el6} -BuildRequires: cmake,glib2-devel,gmime-devel,libevent-devel,openssl-devel,lua-devel,pcre-devel,perl,sqlite-devel -%else -BuildRequires: cmake,glib2-devel,gmime-devel,libevent-devel,openssl-devel,lua-devel,pcre-devel,perl,sqlite-devel,systemd -%endif -%if 0%{?el6} -Requires: lua, logrotate -%else -Requires: lua +BuildRequires: cmake,glib2-devel,gmime-devel,libevent-devel,openssl-devel,lua-devel,pcre-devel,perl +%if 0%{?suse_version} || 0%{?el7} || 0%{?fedora} +BuildRequires: systemd +Requires(pre): systemd +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd %endif -# for /user/sbin/useradd %if 0%{?suse_version} +BuildRequires: sqlite3-devel Requires(pre): shadow %else +BuildRequires: sqlite-devel Requires(pre): shadow-utils %endif -%if 0%{?suse_version} || 0%{?fedora} || 0%{?el7} -Requires(pre): systemd -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd -%else +Requires: lua +%if 0%{?el6} +Requires: logrotate Requires(post): chkconfig -# for /sbin/service -Requires(preun): chkconfig, initscripts -Requires(postun): initscripts +Requires(preun): chkconfig, initscripts +Requires(postun): initscripts %endif Source0: https://rspamd.com/downloads/%{name}-%{version}.tar.xz |