aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--centos/rspamd.spec4
-rw-r--r--centos/sources/rspamd.service.patch12
2 files changed, 0 insertions, 16 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec
index 89bc0b087..59a854fd5 100644
--- a/centos/rspamd.spec
+++ b/centos/rspamd.spec
@@ -53,7 +53,6 @@ Source2: %{name}.logrotate
%endif
Source0: https://rspamd.com/downloads/%{name}-%{version}.tar.xz
-Patch0: %{name}.service.patch
%description
Rspamd is a rapid, modular and lightweight spam filter. It is designed to work
@@ -62,9 +61,6 @@ lua.
%prep
%setup -q
-%if 0%{?el7}
-%patch0 -p0
-%endif
%build
%{__cmake} \
diff --git a/centos/sources/rspamd.service.patch b/centos/sources/rspamd.service.patch
deleted file mode 100644
index 6e9c1c57c..000000000
--- a/centos/sources/rspamd.service.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- rspamd.service.orig 2016-07-06 22:35:44.164819553 +0200
-+++ rspamd.service 2016-07-06 22:36:16.665047224 +0200
-@@ -5,8 +5,7 @@
- [Service]
- Type=forking
- NonBlocking=true
--ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
--User=_rspamd
-+ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f -u _rspamd -g _rspamd
- RuntimeDirectory=rspamd
- RuntimeDirectoryMode=0755
- Restart=always