]> source.dussan.org Git - rspamd.git/commitdiff
RPM: move patch out of wrong part of specfile
authorAndrew Lewis <nerf@judo.za.org>
Fri, 13 Mar 2015 08:15:47 +0000 (10:15 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Fri, 13 Mar 2015 08:40:21 +0000 (10:40 +0200)
centos/rspamd.spec

index 6852c98dbf5346131799adfe301afb7827ba2006..e285f7f0f330e82f67f39f774551469ca05d3ac8 100644 (file)
@@ -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}