summaryrefslogtreecommitdiffstats
path: root/centos
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2015-03-13 10:15:47 +0200
committerAndrew Lewis <nerf@judo.za.org>2015-03-13 10:40:21 +0200
commit30f404d2ede833fb5346bcda8136e6b4fb28bf89 (patch)
treeb4e6280a97973ce12af9ac014090a388d6f318ca /centos
parentb85fb75b5ac606e32e597bae9df82452305c347e (diff)
downloadrspamd-30f404d2ede833fb5346bcda8136e6b4fb28bf89.tar.gz
rspamd-30f404d2ede833fb5346bcda8136e6b4fb28bf89.zip
RPM: move patch out of wrong part of specfile
Diffstat (limited to 'centos')
-rw-r--r--centos/rspamd.spec7
1 files changed, 3 insertions, 4 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec
index 6852c98db..e285f7f0f 100644
--- a/centos/rspamd.spec
+++ b/centos/rspamd.spec
@@ -66,6 +66,9 @@ lua.
%prep
%setup -q
+%if 0%{?el7}
+%patch0 -p0
+%endif
%build
%{__cmake} \
@@ -113,10 +116,6 @@ rm -rf %{buildroot}
%service_add_pre %{name}.socket
%endif
-%if 0%{?el7}
-%patch0 -p0
-%endif
-
%post
#to allow easy upgrade from 0.8.1
chown -R %{rspamd_user}:%{rspamd_group} %{rspamd_home}