From: Andrew Lewis Date: Fri, 13 Mar 2015 08:15:47 +0000 (+0200) Subject: RPM: move patch out of wrong part of specfile X-Git-Tag: 0.8.3~10^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a24e5a82c842c5f9f8d2db682b00e51d9644ef01;p=thirdparty%2Frspamd.git RPM: move patch out of wrong part of specfile --- diff --git a/centos/rspamd.spec b/centos/rspamd.spec index 2b5290f05c..52ead62af4 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}