]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix RPM spec for CentOS 6 779/head
authorAndrew Lewis <nerf@judo.za.org>
Mon, 1 Aug 2016 07:51:20 +0000 (08:51 +0100)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 1 Aug 2016 07:51:20 +0000 (08:51 +0100)
centos/rspamd.spec

index cd4a413a64b10bfc7aae838b325e4f65cf79a7db..7cadb4f42275d004fbfa20792924cbe4b48d6230 100644 (file)
@@ -23,7 +23,12 @@ License:        BSD2c
 URL:            https://rspamd.com
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
 BuildRequires:  glib2-devel,libevent-devel,openssl-devel,pcre-devel
-BuildRequires:  cmake,gmime-devel,file-devel,perl-Digest-MD5,ragel
+BuildRequires:  cmake,gmime-devel,file-devel,ragel
+%if 0%{?el6}
+BuildRequires: perl
+%else
+BuildRequires: perl-Digest-MD5
+%endif
 %if 0%{?suse_version} || 0%{?el7} || 0%{?fedora}
 BuildRequires:  systemd
 Requires(pre):  systemd