|
%perl_module_wo_prefix spamassassin 3.3.2 56 |
|
1 |
%define pkgname Mail-SpamAssassin |
%define pkgname Mail-SpamAssassin |
2 |
|
|
3 |
|
Name: spamassassin |
4 |
|
Version: 3.3.2 |
5 |
|
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 |
26 |
Source60: GPG-sought.KEY |
Source60: GPG-sought.KEY |
27 |
Patch0: Mail-SpamAssassin-3.0.0-krb5.patch |
Patch0: Mail-SpamAssassin-3.0.0-krb5.patch |
28 |
#Patch1: sa-1027163-for-3.3.diff |
#Patch1: sa-1027163-for-3.3.diff |
29 |
|
Patch1000: Mail-SpamAssassin-3.3.2-update_RegistrarBoundaries.patch |
30 |
Buildroot: %{_tmppath}/%{name}-root |
Buildroot: %{_tmppath}/%{name}-root |
31 |
Requires(pre): /sbin/chkconfig /sbin/service |
Requires(pre): /sbin/chkconfig /sbin/service |
32 |
|
|
139 |
%setup -q -n %{pkgname}-%{version} |
%setup -q -n %{pkgname}-%{version} |
140 |
%patch0 -p1 -b .krb5 |
%patch0 -p1 -b .krb5 |
141 |
#patch1 -p0 -b .goto |
#patch1 -p0 -b .goto |
142 |
|
%patch1000 -p1 |
143 |
|
|
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 |
266 |
|
- Add atrpms-rpm-config to the BUildReq so it can build [SME: 8980] |
267 |
|
|
268 |
|
* Thu Jul 9 2015 Daniel Berteaud <daniel@firewall-services.com> - 3.3.2-58.sme |
269 |
|
- Update RegistrarBoundaries.pm to the one from 3.4.1 so URIBL tests are |
270 |
|
done on new tld [SME: 8980] |
271 |
|
|
272 |
|
* Thu Jul 9 2015 Daniel Berteaud <daniel@firewall-services.com> - 3.3.2-57.sme |
273 |
|
- Remove dependency on atrpms macros [SME: 8980] |
274 |
|
|
275 |
* Mon Jun 10 2013 Axel Thimm <Axel.Thimm@ATrpms.net> - |
* Mon Jun 10 2013 Axel Thimm <Axel.Thimm@ATrpms.net> - |
276 |
- Update to 3.3.2. |
- Update to 3.3.2. |
277 |
|
|