diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-01 10:35:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-01 10:35:38 +0100 |
commit | 578f2ae62b3425ee096cf779a28e1a3f5e22947e (patch) | |
tree | a6b18ec291eb716f7088eabf771f1c6aee4086ea | |
parent | aab0c605897a2a33d43317198c4f6274562c77d5 (diff) | |
parent | 8100979e894d4f15b47d270af81a3844f5f837f7 (diff) | |
download | rspamd-578f2ae62b3425ee096cf779a28e1a3f5e22947e.tar.gz rspamd-578f2ae62b3425ee096cf779a28e1a3f5e22947e.zip |
Merge pull request #779 from fatalbanana/el6
Fix RPM spec for CentOS 6
-rw-r--r-- | centos/rspamd.spec | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec index cd4a413a6..7cadb4f42 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -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 |