2 |
|
|
3 |
Name: spamassassin |
Name: spamassassin |
4 |
Version: 3.3.2 |
Version: 3.3.2 |
5 |
Release: 59%{?dist} |
Release: 60%{?dist} |
6 |
Summary: Spam filter for email which can be invoked from mail delivery agents |
Summary: Spam filter for email which can be invoked from mail delivery agents |
7 |
License: Apache |
License: Apache |
8 |
Group: Applications/Internet |
Group: Applications/Internet |
30 |
Buildroot: %{_tmppath}/%{name}-root |
Buildroot: %{_tmppath}/%{name}-root |
31 |
Requires(pre): /sbin/chkconfig /sbin/service |
Requires(pre): /sbin/chkconfig /sbin/service |
32 |
|
|
|
BuildRequires: atrpms-rpm-config |
|
33 |
BuildRequires: openssl-devel, krb5-devel |
BuildRequires: openssl-devel, krb5-devel |
34 |
BuildRequires: autoconf |
BuildRequires: autoconf |
35 |
BuildRequires: perl >= 2:5.8.1 |
BuildRequires: perl >= 2:5.8.1 |
144 |
%build |
%build |
145 |
(cd spamc; autoconf) |
(cd spamc; autoconf) |
146 |
%define _perl_buildroot %{nil} |
%define _perl_buildroot %{nil} |
147 |
%perl_configure ENABLE_SSL=yes |
test -z "$CFLAGS" && export CFLAGS="%{optflags}" |
148 |
%perl_make |
%{__perl} Makefile.PL 'PREFIX=%{_perl_buildroot}%{_prefix}' INSTALLDIRS=vendor ENABLE_SSL=yes |
149 |
%perl_makecheck || : |
%{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile |
150 |
|
%{__make} OPTIMIZE="$RPM_OPT_FLAGS" |
151 |
|
%if %{?_without_check:0}%{!?_without_check:1} |
152 |
|
%{__make} test ||: |
153 |
|
%endif |
154 |
mv spamd/README spamd/README.spamd |
mv spamd/README spamd/README.spamd |
155 |
|
|
156 |
%install |
%install |
259 |
exit 0 |
exit 0 |
260 |
|
|
261 |
%changelog |
%changelog |
262 |
|
* Fri Jul 10 2015 Daniel Berteaud <daniel@firewall-services.com> - 3.3.2-60.sme |
263 |
|
- Expand atrpms macro and remove BuildReq on atrpms-rpm-config [SME: 8980] |
264 |
|
|
265 |
* Fri Jul 10 2015 Daniel Berteaud <daniel@firewall-services.com> - 3.3.2-59.sme |
* Fri Jul 10 2015 Daniel Berteaud <daniel@firewall-services.com> - 3.3.2-59.sme |
266 |
- Add atrpms-rpm-config to the BUildReq so it can build [SME: 8980] |
- Add atrpms-rpm-config to the BUildReq so it can build [SME: 8980] |
267 |
|
|