aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-03 13:58:37 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-03 13:58:37 +0000
commitaa8b1c618148c2ead44e1cc643e9eb23423a4843 (patch)
tree46e5429dd811b7845105decfa22c75c7f319b4ca
parent8175d374dfcc50db6b19ecee6634378ece8996c5 (diff)
parent2fa2e9b3e77a3e9847765110b6e42d155cebe7aa (diff)
downloadrspamd-aa8b1c618148c2ead44e1cc643e9eb23423a4843.tar.gz
rspamd-aa8b1c618148c2ead44e1cc643e9eb23423a4843.zip
Merge pull request #136 from fatalbanana/master
Cosmetic changes
-rw-r--r--CMakeLists.txt2
-rw-r--r--centos/rspamd.spec36
2 files changed, 15 insertions, 23 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb3c946b8..96a4b6bd1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Rspamd - rambler antispam system
+# Rspamd - rapid antispam system
#
# Cmake configuration file
#
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