Browse Source

RPM: move patch out of wrong part of specfile

tags/0.9.0
Andrew Lewis 9 years ago
parent
commit
30f404d2ed
1 changed files with 3 additions and 4 deletions
  1. 3
    4
      centos/rspamd.spec

+ 3
- 4
centos/rspamd.spec View 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}

Loading…
Cancel
Save